{"id":{"repo_id":"calgary","oai_identifier":"oai:ucalgary.scholaris.ca:1880/117842"},"canonical_url":"https://search.ndltd.org/etd/calgary/oai:ucalgary.scholaris.ca:1880/117842","repository":{"repo_id":"calgary","name":"University of Calgary","base_url":"https://ucalgary.scholaris.ca/server/oai/request"},"display":{"title":"Randy: A Secure One-Time Pad Cryptosystem for Communication in Extreme Adversarial Settings","abstract":"Most modern encryption schemes provide security contingent on one or more conjected but unproven computational hardness assumptions, implying that future algorithmic and technological advances might render existing ciphertexts insecure. The security guarantees of the venerable one-time pad (OTP) encryption scheme, by contrast, are information-theoretic and wholly unconditioned on unproven assumptions. Yet, despite the allure of ``unconditional'' security, sampling and managing the required randomness is so fraught that practitioners rarely employ OTP encryption in the wild---even in scenarios where long-term secrecy is paramount. Randy is an architecture and protocol suite that provides passphrase-authenticated and OTP-encrypted sockets suitable for communicating securely in ultrahigh-stakes adversarial environments where the adversary is assumed to be computationally unbounded. The Randy architecture centers around a shared randomness pool stored on a securely deletable storage device. This thesis aims to enhance the security and reliability of Randy's model through a comprehensive analysis. The existing model is thoroughly examined to identify weaknesses and vulnerabilities, which serve as the foundation for further improvements. To address these identified weaknesses, a secure and reliable synchronization scheme is proposed to ensure the security of the cryptosystem. Additionally, we introduce various techniques to manage and reduce randomness exhaustion in Randy. These techniques aim to improve the availability of the system by preserving the padding materials. Finally, we implement our design as a Linux kernel module that allows existing applications to seamlessly use Randy to provide unconditionally secure mutual authentication, message integrity, and secrecy for all messages. This implementation showcases the practicality of the model and highlights its security and functionality features. We analyze the security of our design and present empirical measurements from a prototype implementation thereof.","abstract_html":"Most modern encryption schemes provide security contingent on one or more conjected but unproven computational hardness assumptions, implying that future algorithmic and technological advances might render existing ciphertexts insecure. The security guarantees of the venerable one-time pad (OTP) encryption scheme, by contrast, are information-theoretic and wholly unconditioned on unproven assumptions. Yet, despite the allure of ``unconditional&#x27;&#x27; security, sampling and managing the required randomness is so fraught that practitioners rarely employ OTP encryption in the wild---even in scenarios where long-term secrecy is paramount. Randy is an architecture and protocol suite that provides passphrase-authenticated and OTP-encrypted sockets suitable for communicating securely in ultrahigh-stakes adversarial environments where the adversary is assumed to be computationally unbounded. The Randy architecture centers around a shared randomness pool stored on a securely deletable storage device. This thesis aims to enhance the security and reliability of Randy&#x27;s model through a comprehensive analysis. The existing model is thoroughly examined to identify weaknesses and vulnerabilities, which serve as the foundation for further improvements. To address these identified weaknesses, a secure and reliable synchronization scheme is proposed to ensure the security of the cryptosystem. Additionally, we introduce various techniques to manage and reduce randomness exhaustion in Randy. These techniques aim to improve the availability of the system by preserving the padding materials. Finally, we implement our design as a Linux kernel module that allows existing applications to seamlessly use Randy to provide unconditionally secure mutual authentication, message integrity, and secrecy for all messages. This implementation showcases the practicality of the model and highlights its security and functionality features. We analyze the security of our design and present empirical measurements from a prototype implementation thereof.","abstract_has_math":false,"creators":["Pakbaz, Amirhossein"],"institution":"Graduate Studies","degree_name":"Master of Science (MSc)","degree_level":null,"degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":[],"advisors":["Reardon, Joel"],"committee_chairs":[],"committee_members":["Reardon, Joel","Henry, Ryan","De Carli, Lorenzo"],"year":2024,"date_issued":"2024-01-02","date_published":"2024-01-02","updated_at":"2026-11-19T07:23:34Z","subjects":["One-Time Pad","Security","OTP Encryption","Privacy"],"languages":["en"],"rights":["University of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1880/117842"],"render_values":[{"text":"https://hdl.handle.net/1880/117842","href":"https://hdl.handle.net/1880/117842","code":true}]},{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Pakbaz, A. (2023). Randy: a secure one-time pad cryptosystem for communication in extreme adversarial settings (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca."],"render_values":[{"text":"Pakbaz, A. (2023). Randy: a secure one-time pad cryptosystem for communication in extreme adversarial settings (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca.","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.11575/PRISM/42685","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.11575/PRISM/42685","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","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%3Acalgary%3Aoai%3Aucalgary.scholaris.ca%3A1880%2F117842","prefix":"oai_dc"},"source_record":{"url":"https://ucalgary.scholaris.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aucalgary.scholaris.ca%3A1880%2F117842","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Reardon, Joel"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Reardon, Joel","Henry, Ryan","De Carli, Lorenzo"]},{"key":"dc:creator","label":"Author","values":["Pakbaz, Amirhossein"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2024-02"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2024-01-03T23:29:25Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2024-01-03T23:29:25Z"]},{"key":"dc:date.issued","label":"Date","values":["2024-01-02"]},{"key":"dc:publisher.faculty","label":"Dc Publisher Faculty","values":["Graduate Studies"]},{"key":"dc:publisher.institution","label":"Dc Publisher Institution","values":["University of Calgary"]},{"key":"dc:type","label":"Dc Type","values":["master thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (MSc)"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Calgary"]},{"key":"thesis:release_request","label":"Thesis Release Request","values":["I do not require a thesis withhold – my thesis will have open access and can be viewed and downloaded publicly as soon as possible."]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["One-Time Pad","Security","OTP Encryption","Privacy"]},{"key":"dc:subject.classification","label":"Dc Subject Classification","values":["Computer Science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["University of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Pakbaz, A. (2023). Randy: a secure one-time pad cryptosystem for communication in extreme adversarial settings (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca."]},{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.11575/PRISM/42685"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1880/117842"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Most modern encryption schemes provide security contingent on one or more conjected but unproven computational hardness assumptions, implying that future algorithmic and technological advances might render existing ciphertexts insecure. The security guarantees of the venerable one-time pad (OTP) encryption scheme, by contrast, are information-theoretic and wholly unconditioned on unproven assumptions. Yet, despite the allure of ``unconditional'' security, sampling and managing the required randomness is so fraught that practitioners rarely employ OTP encryption in the wild---even in scenarios where long-term secrecy is paramount. Randy is an architecture and protocol suite that provides passphrase-authenticated and OTP-encrypted sockets suitable for communicating securely in ultrahigh-stakes adversarial environments where the adversary is assumed to be computationally unbounded. The Randy architecture centers around a shared randomness pool stored on a securely deletable storage device. This thesis aims to enhance the security and reliability of Randy's model through a comprehensive analysis. The existing model is thoroughly examined to identify weaknesses and vulnerabilities, which serve as the foundation for further improvements. To address these identified weaknesses, a secure and reliable synchronization scheme is proposed to ensure the security of the cryptosystem. Additionally, we introduce various techniques to manage and reduce randomness exhaustion in Randy. These techniques aim to improve the availability of the system by preserving the padding materials. Finally, we implement our design as a Linux kernel module that allows existing applications to seamlessly use Randy to provide unconditionally secure mutual authentication, message integrity, and secrecy for all messages. This implementation showcases the practicality of the model and highlights its security and functionality features. We analyze the security of our design and present empirical measurements from a prototype implementation thereof."]},{"key":"dc:title","label":"Title","values":["Randy: A Secure One-Time Pad Cryptosystem for Communication in Extreme Adversarial Settings"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Reardon, Joel"],"dc:contributor.committeemember":["Reardon, Joel","Henry, Ryan","De Carli, Lorenzo"],"dc:creator":["Pakbaz, Amirhossein"],"dc:date":["2024-02"],"dc:date.accessioned":["2024-01-03T23:29:25Z"],"dc:date.available":["2024-01-03T23:29:25Z"],"dc:date.issued":["2024-01-02"],"dc:description.abstract":["Most modern encryption schemes provide security contingent on one or more conjected but unproven computational hardness assumptions, implying that future algorithmic and technological advances might render existing ciphertexts insecure. The security guarantees of the venerable one-time pad (OTP) encryption scheme, by contrast, are information-theoretic and wholly unconditioned on unproven assumptions. Yet, despite the allure of ``unconditional'' security, sampling and managing the required randomness is so fraught that practitioners rarely employ OTP encryption in the wild---even in scenarios where long-term secrecy is paramount. Randy is an architecture and protocol suite that provides passphrase-authenticated and OTP-encrypted sockets suitable for communicating securely in ultrahigh-stakes adversarial environments where the adversary is assumed to be computationally unbounded. The Randy architecture centers around a shared randomness pool stored on a securely deletable storage device. This thesis aims to enhance the security and reliability of Randy's model through a comprehensive analysis. The existing model is thoroughly examined to identify weaknesses and vulnerabilities, which serve as the foundation for further improvements. To address these identified weaknesses, a secure and reliable synchronization scheme is proposed to ensure the security of the cryptosystem. Additionally, we introduce various techniques to manage and reduce randomness exhaustion in Randy. These techniques aim to improve the availability of the system by preserving the padding materials. Finally, we implement our design as a Linux kernel module that allows existing applications to seamlessly use Randy to provide unconditionally secure mutual authentication, message integrity, and secrecy for all messages. This implementation showcases the practicality of the model and highlights its security and functionality features. We analyze the security of our design and present empirical measurements from a prototype implementation thereof."],"dc:identifier.citation":["Pakbaz, A. (2023). Randy: a secure one-time pad cryptosystem for communication in extreme adversarial settings (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca."],"dc:identifier.doi":["https://doi.org/10.11575/PRISM/42685"],"dc:identifier.uri":["https://hdl.handle.net/1880/117842"],"dc:language.iso":["en"],"dc:publisher.faculty":["Graduate Studies"],"dc:publisher.institution":["University of Calgary"],"dc:rights":["University of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission."],"dc:subject":["One-Time Pad","Security","OTP Encryption","Privacy"],"dc:subject.classification":["Computer Science"],"dc:title":["Randy: A Secure One-Time Pad Cryptosystem for Communication in Extreme Adversarial Settings"],"dc:type":["master thesis"],"dspace:entity.type":["Publication"],"others:access_status":["open.access"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_name":["Master of Science (MSc)"],"thesis:institution_name":["University of Calgary"],"thesis:release_request":["I do not require a thesis withhold – my thesis will have open access and can be viewed and downloaded publicly as soon as possible."]},"updated_at":"2026-11-19T07:23:34Z"}