{"id":{"repo_id":"nps","oai_identifier":"oai:calhoun.nps.edu:10945/37657"},"canonical_url":"https://search.ndltd.org/etd/nps/oai:calhoun.nps.edu:10945/37657","repository":{"repo_id":"nps","name":"Naval Postgraduate School","base_url":"https://calhoun.nps.edu/server/oai/request"},"display":{"title":"Pseudorandom number generators for mobile devices: an examination and attempt to improve randomness","abstract":"This thesis examines the quality of pseudorandom number generation for cryptographic purposes in general and the generation of such numbers in a mobile device (Android phone), in particular, since we expected to find non-random properties in these. Initially, the need for random numbers for encryption purposes is discussed from a perspective of Information Warfare. Thereafter, ways of testing a bit string for random properties as well as some pseudorandom number generating algorithms are presented. This also includes the shrinking and the self-shrinking generator normally used to improve the random properties of the output m-sequence of linear feedback shift registers. A couple of possible attacks on pseudorandom number generators are also briefly presented. Finally, we generate and analyze some pseudorandom bit strings in three different ways using the NIST test suite, both before and after the self-shrinking generator has been applied to them. The strings generated by the Android phone passed the NIST test suite, and it is difficult to claim any improvement in random properties by applying the self-shrinking generator. On a bit string with poor random properties, however, the self-shrinking generator improves randomness from the perspective of linear dependency and complexity, but not from the perspective of bit frequency.","abstract_html":"This thesis examines the quality of pseudorandom number generation for cryptographic purposes in general and the generation of such numbers in a mobile device (Android phone), in particular, since we expected to find non-random properties in these. Initially, the need for random numbers for encryption purposes is discussed from a perspective of Information Warfare. Thereafter, ways of testing a bit string for random properties as well as some pseudorandom number generating algorithms are presented. This also includes the shrinking and the self-shrinking generator normally used to improve the random properties of the output m-sequence of linear feedback shift registers. A couple of possible attacks on pseudorandom number generators are also briefly presented. Finally, we generate and analyze some pseudorandom bit strings in three different ways using the NIST test suite, both before and after the self-shrinking generator has been applied to them. The strings generated by the Android phone passed the NIST test suite, and it is difficult to claim any improvement in random properties by applying the self-shrinking generator. On a bit string with poor random properties, however, the self-shrinking generator improves randomness from the perspective of linear dependency and complexity, but not from the perspective of bit frequency.","abstract_has_math":false,"creators":["Larsson, Ola"],"institution":"Monterey, CA; Naval Postgraduate School","degree_name":"Master Of Science In Information Warfare Systems Engineering And Master Of Science In Applied Mathematics","degree_level":"Masters","degree_discipline":"Information Warfare Systems Engineering and Applied Mathematics","degree_department":"Information Sciences (IS)","school":null,"contributors":[],"advisors":["Stanica, Pantelimon","Peterson, Zachary"],"committee_chairs":[],"committee_members":["Buettner, Raymond R."],"year":2013,"date_issued":"2013-09","date_published":"2013-09","updated_at":"2026-11-26T00:03:03Z","subjects":[],"languages":[],"rights":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.","Approved for public release; distribution is unlimited."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10945/37657","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10945/37657","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Anps%3Aoai%3Acalhoun.nps.edu%3A10945%2F37657","prefix":"oai_dc"},"source_record":{"url":"https://calhoun.nps.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Acalhoun.nps.edu%3A10945%2F37657","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Stanica, Pantelimon","Peterson, Zachary"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Buettner, Raymond R."]},{"key":"dc:contributor.department","label":"Department","values":["Information Sciences (IS)"]},{"key":"dc:creator","label":"Author","values":["Larsson, Ola"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["Sep-13"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2013-11-20T23:36:14Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2013-11-20T23:36:14Z"]},{"key":"dc:date.issued","label":"Date","values":["2013-09"]},{"key":"dc:publisher","label":"Institution","values":["Monterey, CA; Naval Postgraduate School"]},{"key":"dc:relation.ispartofseries","label":"Dc Relation Ispartofseries","values":["NPS Outstanding Theses and Dissertations"]},{"key":"dc:relation.seriesentity","label":"Dc Relation Seriesentity","values":["c5e66392-520c-4aaf-9b4f-370ce82b601f"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Information Warfare Systems Engineering and Applied Mathematics"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master Of Science In Information Warfare Systems Engineering And Master Of Science In Applied Mathematics"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Naval Postgraduate School"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["Pseudorandom number generator","PRNG","Random number","Random bit","Self-shrinking generator","SSG","Encryption","Mobile device","Android"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.","Approved for public release; distribution is unlimited."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10945/37657"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["This thesis examines the quality of pseudorandom number generation for cryptographic purposes in general and the generation of such numbers in a mobile device (Android phone), in particular, since we expected to find non-random properties in these. Initially, the need for random numbers for encryption purposes is discussed from a perspective of Information Warfare. Thereafter, ways of testing a bit string for random properties as well as some pseudorandom number generating algorithms are presented. This also includes the shrinking and the self-shrinking generator normally used to improve the random properties of the output m-sequence of linear feedback shift registers. A couple of possible attacks on pseudorandom number generators are also briefly presented. Finally, we generate and analyze some pseudorandom bit strings in three different ways using the NIST test suite, both before and after the self-shrinking generator has been applied to them. The strings generated by the Android phone passed the NIST test suite, and it is difficult to claim any improvement in random properties by applying the self-shrinking generator. On a bit string with poor random properties, however, the self-shrinking generator improves randomness from the perspective of linear dependency and complexity, but not from the perspective of bit frequency."]},{"key":"dc:description.award","label":"Dc Description Award","values":["Outstanding Thesis"]},{"key":"dc:description.uri","label":"Dc Description URI","values":["http://archive.org/details/pseudorandomnumb1094537657"]},{"key":"dc:title","label":"Title","values":["Pseudorandom number generators for mobile devices: an examination and attempt to improve randomness"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"local:contributor.affiliation","label":"Local Contributor Affiliation","values":["Major, Swedish Army"]}]}],"canonical_facts":{"dc:contributor.advisor":["Stanica, Pantelimon","Peterson, Zachary"],"dc:contributor.committeemember":["Buettner, Raymond R."],"dc:contributor.department":["Information Sciences (IS)"],"dc:creator":["Larsson, Ola"],"dc:date":["Sep-13"],"dc:date.accessioned":["2013-11-20T23:36:14Z"],"dc:date.available":["2013-11-20T23:36:14Z"],"dc:date.issued":["2013-09"],"dc:description.abstract":["This thesis examines the quality of pseudorandom number generation for cryptographic purposes in general and the generation of such numbers in a mobile device (Android phone), in particular, since we expected to find non-random properties in these. Initially, the need for random numbers for encryption purposes is discussed from a perspective of Information Warfare. Thereafter, ways of testing a bit string for random properties as well as some pseudorandom number generating algorithms are presented. This also includes the shrinking and the self-shrinking generator normally used to improve the random properties of the output m-sequence of linear feedback shift registers. A couple of possible attacks on pseudorandom number generators are also briefly presented. Finally, we generate and analyze some pseudorandom bit strings in three different ways using the NIST test suite, both before and after the self-shrinking generator has been applied to them. The strings generated by the Android phone passed the NIST test suite, and it is difficult to claim any improvement in random properties by applying the self-shrinking generator. On a bit string with poor random properties, however, the self-shrinking generator improves randomness from the perspective of linear dependency and complexity, but not from the perspective of bit frequency."],"dc:description.award":["Outstanding Thesis"],"dc:description.uri":["http://archive.org/details/pseudorandomnumb1094537657"],"dc:identifier.uri":["https://hdl.handle.net/10945/37657"],"dc:publisher":["Monterey, CA; Naval Postgraduate School"],"dc:relation.ispartofseries":["NPS Outstanding Theses and Dissertations"],"dc:relation.seriesentity":["c5e66392-520c-4aaf-9b4f-370ce82b601f"],"dc:rights":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.","Approved for public release; distribution is unlimited."],"dc:subject.keyword":["Pseudorandom number generator","PRNG","Random number","Random bit","Self-shrinking generator","SSG","Encryption","Mobile device","Android"],"dc:title":["Pseudorandom number generators for mobile devices: an examination and attempt to improve randomness"],"dc:type":["Thesis"],"dspace:entity.type":["Publication"],"local:contributor.affiliation":["Major, Swedish Army"],"thesis:degree_discipline":["Information Warfare Systems Engineering and Applied Mathematics"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master Of Science In Information Warfare Systems Engineering And Master Of Science In Applied Mathematics"],"thesis:institution_name":["Naval Postgraduate School"]},"updated_at":"2026-11-26T00:03:03Z"}