{"id":{"repo_id":"sjsu","oai_identifier":"oai:scholarworks.sjsu.edu:etd_projects-1175"},"canonical_url":"https://search.ndltd.org/etd/sjsu/oai:scholarworks.sjsu.edu:etd_projects-1175","repository":{"repo_id":"sjsu","name":"San Jose State University","base_url":"https://scholarworks.sjsu.edu/do/oai/"},"display":{"title":"Substitution Cipher with Non­Prefix Codes","abstract":"Substitution ciphers normally use prefix free codes ­ there is no code word which is the prefix of some other code word. Prefix free codes are used for encryption because it makes the decryption process easier at the receiver's end.In this project, we study the feasibility of substitution ciphers with non­prefix codes. The advantage of using non­prefix codes is that extracting statistical information is more difficult. However, the ciphertext is nontrivial to decrypt.We present a dynamic programming technique for decryption and verify that the plaintext can be recovered. This shows that substitution ciphers with non­prefix codes are feasible. Finally, we view the cipher from the attacker's perspective and experimentally study various attacks. We show that a limited attack is possible in the case of known plaintext. However, the ciphertext­only attack appears to be very challenging, which is in stark contrast to substitution ciphers with prefix free codes.","abstract_html":"Substitution ciphers normally use prefix free codes ­ there is no code word which is the prefix of some other code word. Prefix free codes are used for encryption because it makes the decryption process easier at the receiver&#x27;s end.In this project, we study the feasibility of substitution ciphers with non­prefix codes. The advantage of using non­prefix codes is that extracting statistical information is more difficult. However, the ciphertext is nontrivial to decrypt.We present a dynamic programming technique for decryption and verify that the plaintext can be recovered. This shows that substitution ciphers with non­prefix codes are feasible. Finally, we view the cipher from the attacker&#x27;s perspective and experimentally study various attacks. We show that a limited attack is possible in the case of known plaintext. However, the ciphertext­only attack appears to be very challenging, which is in stark contrast to substitution ciphers with prefix free codes.","abstract_has_math":false,"creators":["Muralidhar, Rashmi Bangalore"],"institution":null,"degree_name":"Master of Science (MS)","degree_level":null,"degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":["Mark Stamp","Robert Chun","Sami Khuri"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-26T14:01:56Z","subjects":["substitution cipher prefix non-prefix code","Other Computer Sciences"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier","label":"Identifier","values":["https://scholarworks.sjsu.edu/etd_projects/176"],"render_values":[{"text":"https://scholarworks.sjsu.edu/etd_projects/176","href":"https://scholarworks.sjsu.edu/etd_projects/176","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.31979/etd.g9zr-xuyc","outbound_label":"DOI","outbound_source":"dc:identifier","record_url":"https://doi.org/10.31979/etd.g9zr-xuyc","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier","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%3Asjsu%3Aoai%3Ascholarworks.sjsu.edu%3Aetd_projects-1175","prefix":"oai_dc"},"source_record":{"url":"https://scholarworks.sjsu.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Ascholarworks.sjsu.edu%3Aetd_projects-1175","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Mark Stamp","Robert Chun","Sami Khuri"]},{"key":"dc:creator","label":"Author","values":["Muralidhar, Rashmi Bangalore"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.available","label":"Dc Date Available","values":["2011-05-29T07:00:00Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2011-04-01T07:00:00Z"]},{"key":"dc:type","label":"Dc Type","values":["Master's Project"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (MS)"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["substitution cipher prefix non-prefix code","Other Computer Sciences"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://doi.org/10.31979/etd.g9zr-xuyc","https://scholarworks.sjsu.edu/etd_projects/176"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Substitution ciphers normally use prefix free codes ­ there is no code word which is the prefix of some other code word. Prefix free codes are used for encryption because it makes the decryption process easier at the receiver's end.In this project, we study the feasibility of substitution ciphers with non­prefix codes. The advantage of using non­prefix codes is that extracting statistical information is more difficult. However, the ciphertext is nontrivial to decrypt.We present a dynamic programming technique for decryption and verify that the plaintext can be recovered. This shows that substitution ciphers with non­prefix codes are feasible. Finally, we view the cipher from the attacker's perspective and experimentally study various attacks. We show that a limited attack is possible in the case of known plaintext. However, the ciphertext­only attack appears to be very challenging, which is in stark contrast to substitution ciphers with prefix free codes."]},{"key":"dc:title","label":"Title","values":["Substitution Cipher with Non­Prefix Codes"]}]}],"canonical_facts":{"dc:contributor":["Mark Stamp","Robert Chun","Sami Khuri"],"dc:creator":["Muralidhar, Rashmi Bangalore"],"dc:date.available":["2011-05-29T07:00:00Z"],"dc:date.created":["2011-04-01T07:00:00Z"],"dc:description.abstract":["Substitution ciphers normally use prefix free codes ­ there is no code word which is the prefix of some other code word. Prefix free codes are used for encryption because it makes the decryption process easier at the receiver's end.In this project, we study the feasibility of substitution ciphers with non­prefix codes. The advantage of using non­prefix codes is that extracting statistical information is more difficult. However, the ciphertext is nontrivial to decrypt.We present a dynamic programming technique for decryption and verify that the plaintext can be recovered. This shows that substitution ciphers with non­prefix codes are feasible. Finally, we view the cipher from the attacker's perspective and experimentally study various attacks. We show that a limited attack is possible in the case of known plaintext. However, the ciphertext­only attack appears to be very challenging, which is in stark contrast to substitution ciphers with prefix free codes."],"dc:identifier":["https://doi.org/10.31979/etd.g9zr-xuyc","https://scholarworks.sjsu.edu/etd_projects/176"],"dc:subject":["substitution cipher prefix non-prefix code","Other Computer Sciences"],"dc:title":["Substitution Cipher with Non­Prefix Codes"],"dc:type":["Master's Project"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_name":["Master of Science (MS)"]},"updated_at":"2026-11-26T14:01:56Z"}