Some Notes on Code-Based Cryptography Löndahl, Carl

Total Page:16

File Type:pdf, Size:1020Kb

Some Notes on Code-Based Cryptography Löndahl, Carl Some Notes on Code-Based Cryptography Löndahl, Carl 2015 Link to publication Citation for published version (APA): Löndahl, C. (2015). Some Notes on Code-Based Cryptography. Total number of authors: 1 General rights Unless other specific re-use rights are stated the following general rights apply: Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain • You may freely distribute the URL identifying the publication in the public portal Read more about Creative commons licenses: https://creativecommons.org/licenses/ Take down policy If you believe that this document breaches copyright please contact us providing details, and we will remove access to the work immediately and investigate your claim. LUND UNIVERSITY PO Box 117 221 00 Lund +46 46-222 00 00 Some Notes on Code-Based Cryptography Carl Löndahl Doctoral Dissertation Information Theory Lund, December 2014 Carl Löndahl Department of Electrical and Information Technology Information Theory Lund University P.O. Box 118, 221 00 Lund, Sweden Series of licentiate and doctoral dissertations ISSN 1654-790X; No. 67 ISBN 978-91-7623-119-7 c 2014 Carl Löndahl Typeset in Palatino and Helvetica using LATEX 2#. Printed in Sweden by Tryckeriet i E-huset, Lund University, Lund. No part of this dissertation may be reproduced or transmitted in any form or by any means, electronically or mechanical, including photocopy, recording, or any information storage and retrieval system, without written permission from the author. Abstract his thesis presents new cryptanalytic results in several areas of coding- based cryptography. In addition, we also investigate the possibility of using convolutional codes in code-based public-key cryptography. TThe first algorithm that we present is an information-set decoding algo- rithm, aiming towards the problem of decoding random linear codes. We apply the generalized birthday technique to information-set decoding, im- proving the computational complexity over previous approaches. Next, we present a new version of the McEliece public-key cryptosystem based on convolutional codes. The original construction uses Goppa codes, which is an algebraic code family admitting a well-defined code structure. In the two constructions proposed, large parts of randomly generated par- ity checks are used. By increasing the entropy of the generator matrix, this presumably makes structured attacks more difficult. Following this, we analyze a McEliece variant based on quasi-cylic MDPC codes. We show that when the underlying code construction has an even di- mension, the system is susceptible to, what we call, a squaring attack. Our results show that the new squaring attack allows for great complexity im- provements over previous attacks on this particular McEliece construction. Then, we introduce two new techniques for finding low-weight polynomial multiples. Firstly, we propose a general technique based on a reduction to the minimum-distance problem in coding, which increases the multiplicity of the low-weight codeword by extending the code. We use this algorithm to break some of the instances used by the TCHo cryptosystem. Secondly, we propose an algorithm for finding weight-4 polynomials. By using the generalized birthday technique in conjunction with increasing the multiplicity of the low-weight polynomial multiple, we obtain a much better complexity than previously known algorithms. Lastly, two new algorithms for the learning parities with noise (LPN) prob- lem are proposed. The first one is a general algorithm, applicable to any instance of LPN. The algorithm performs favorably compared to previously 1 known algorithms, breaking the 80-bit security of the widely used p512, 8 q instance. The second one focuses on LPN instances over a polynomial ring, when the generator polynomial is reducible. Using the algorithm, we break an 80-bit security instance of the Lapin cryptosystem. Contents Contents v Preface ix Acknowledgments xi 1 Introduction 1 1.1 Outline . 4 1.2 Notation . 5 1.3 Probability Theory and Combinatorics . 7 1.4 Information Theory . 10 1.5 Hypothesis Testing . 14 1.5.1 The Walsh Transform . 17 1.6 Algorithms and Complexity Theory . 18 1.7 The Birthday Paradox and Collision Search . 21 1.7.1 Searching for collisions in vectorspaces . 24 1.8 Cryptography and Cryptanalysis . 28 1.8.1 One-Way Functions . 29 1.8.2 Symmetric Cryptography . 30 1.8.3 Public-Key Cryptography . 31 1.8.4 Attack Models and Settings . 32 1.8.5 Distinguishing Attacks . 35 1.9 Summary . 36 2 Linear Codes 37 2.1 General . 38 2.2 Channel Error Models . 40 2.3 Types of Decoding . 41 2.4 Random-Coding Bounds and Covering Codes . 43 2.5 Computational Problems in Coding . 45 2.6 Efficiently Decodable Families . 47 2.6.1 Convolutional codes . 47 2.6.2 Cyclic codes . 49 2.6.3 Hamming Codes . 49 2.6.4 LDPC and MDPC Codes . 50 2.7 Summary . 51 3 Information-Set Decoding 53 3.1 Plain ISD and Lee-Brickell’s Algorithm . 53 3.2 Stern’s Algorithm . 56 3.3 A New Algorithm . 60 3.3.1 Explaining the Ideas Behind the Algorithm . 62 3.3.2 Complexity Analysis . 63 3.3.3 Parameters and Security . 66 3.4 Summary . 68 4 Code-based cryptography 69 4.1 McEliece Cryptosystem . 69 4.1.1 The Original McEliece Construction . 71 4.2 Attacks in Code-Based Cryptography . 72 4.3 New Variants of McEliece Cryptosystem . 72 4.3.1 McEliece Based on Convolutional Codes . 73 4.3.2 McEliece Based on MDPC codes . 80 4.4 The TCHo cipher . 82 4.4.1 Proposed parameters . 84 4.5 Summary . 84 5 A Squaring Attack on QC-MDPC-based McEliece 85 5.1 A Key-Recovery Attack . 86 5.1.1 Polynomial Square Roots . 87 5.1.2 The Attack . 90 5.2 A Message-Recovery Attack . 93 5.3 Analysis . 95 5.4 Results . 98 5.5 Summary . 101 6 Searching for Low-Weight Polynomial Multiples 103 6.1 The Low-Weight Polynomial Multiple Problem . 104 6.1.1 Time–Memory Trade-off Approach . 105 6.1.2 Finding Minimum-Weight Codewords in a Linear Code . 106 6.2 A New Algorithm Solving LWPM . 107 6.2.1 Complexity Analysis . 110 6.2.2 Simulation Results . 113 6.2.3 The Attack . 114 6.3 A New Algorithm for Finding a Weight-4 Multiple . 115 6.3.1 Complexity analysis . 117 6.3.2 Simulation results . 118 6.4 Attacks on QC-MDPC McEliece in relation to LWPM . 118 6.5 Summary . 121 7 Learning Parity With Noise 123 7.1 The LPN Problem . 125 7.2 The BKW Algorithm . 126 7.2.1 LF1 and LF2 variants . 128 7.3 A New Algorithm . 130 7.3.1 A Toy Example . 134 7.4 Algorithm Description . 137 7.4.1 Gaussian Elimination . 137 7.4.2 Merging columns . 138 7.4.3 Partial Secret Guessing . 139 7.4.4 Covering-Coding Method . 140 7.4.5 Subspace Hypothesis Testing . 141 7.5 Analysis . 144 7.6 Results . 146 7.6.1 Lapin with an Irreducible Polynomial . 148 7.7 More on the Covering-Coding Method . 148 7.8 Summary . 149 8 LPN over a Polynomial Ring 151 8.1 The Ring-LPN Problem . 152 8.1.1 Formal Definition . 153 8.2 A New Algorithm for Ring-LPN with Reducible Polynomial . 154 8.2.1 A Low-Weight Code from the CRT Map . 154 8.2.2 Using Low-Weight Relations to Build a Distinguisher . 155 8.2.3 Recovering the Secret Polynomial . 157 8.3 Lapin Authentication Protocol . 160 8.4 The Improved Version for the Proposed Instance of Lapin . 161 8.5 Complexity Analysis . 162 8.6 Results . 163 8.7 Summary . 164 9 Concluding Remarks 167 References 169 Preface his thesis contains results from research performed by the author at the Department of Electrical and Information Technology at Lund Univer- sity. Parts of the material have been presented at international confer- Tences. Publications and reports have appeared as follows. ‚ T. Johansson, C. Löndahl, »An Improvement to Stern’s Algorithm,« Internal report, September 2011. ‚ C. Löndahl, T. Johansson, »A new version of McEliece PKC based on convo- lutional codes,« in T. W. Chim and T. H. Yuen, editors, Information and Commu- nications Security, volume 7618 of Lecture Notes in Computer Science, pp 461–470. Springer-Verlag, 2012. ‚ T. Johansson, C. Löndahl, »A new algorithm for finding low-weight polyno- mial multiples and its application to TCHo,« in L. Budaghyan, T. Helleseth, M. G. Parker, editors, Workshop on Coding and Cryptography. Preproceedings, 2013. ‚ C. Löndahl, T. Johansson, »Improved Algorithms for Finding Low-Weight Polynomial Multiples in F2rxs and Some Cryptographic Applications,« in De- sign, Codes and Cryptography, volume 73 issue 2, pp 625–640. Kluwer Academic Publishers, 2013. ‚ C. Löndahl, T. Johansson, M. Koochak Shooshtari, M. Ahmadian-Attari, M. Reza Aref, »Squaring Attacks on McEliece Public-Key Cryptosystems Us- ing Quasi-Cyclic Codes of Even Dimension,« submitted to Design, Codes and Cryptography. ‚ Q. Guo, T. Johansson, C. Löndahl, »Solving LPN using Covering Codes:,« in T. W. Chim and T. H. Yuen, editors, Asiacrypt 2014, Taiwan, China, volume 8873 of Lecture Notes in Computer Science, pages 1–20. Springer-Verlag, 2014. ix ‚ Q. Guo, T. Johansson, C. Löndahl, »A New Algorithm for Solving Ring-LPN with a Reducible Polynomial,«, submitted to IEEE Transactions on Information Theory.
Recommended publications
  • 9 Purple 18/2
    THE CONCORD REVIEW 223 A VERY PURPLE-XING CODE Michael Cohen Groups cannot work together without communication between them. In wartime, it is critical that correspondence between the groups, or nations in the case of World War II, be concealed from the eyes of the enemy. This necessity leads nations to develop codes to hide their messages’ meanings from unwanted recipients. Among the many codes used in World War II, none has achieved a higher level of fame than Japan’s Purple code, or rather the code that Japan’s Purple machine produced. The breaking of this code helped the Allied forces to defeat their enemies in World War II in the Pacific by providing them with critical information. The code was more intricate than any other coding system invented before modern computers. Using codebreaking strategy from previous war codes, the U.S. was able to crack the Purple code. Unfortunately, the U.S. could not use its newfound knowl- edge to prevent the attack at Pearl Harbor. It took a Herculean feat of American intellect to break Purple. It was dramatically intro- duced to Congress in the Congressional hearing into the Pearl Harbor disaster.1 In the ensuing years, it was discovered that the deciphering of the Purple Code affected the course of the Pacific war in more ways than one. For instance, it turned out that before the Americans had dropped nuclear bombs on Japan, Purple Michael Cohen is a Senior at the Commonwealth School in Boston, Massachusetts, where he wrote this paper for Tom Harsanyi’s United States History course in the 2006/2007 academic year.
    [Show full text]
  • Secure Communications One Time Pad Cipher
    Cipher Machines & Cryptology © 2010 – D. Rijmenants http://users.telenet.be/d.rijmenants THE COMPLETE GUIDE TO SECURE COMMUNICATIONS WITH THE ONE TIME PAD CIPHER DIRK RIJMENANTS Abstract : This paper provides standard instructions on how to protect short text messages with one-time pad encryption. The encryption is performed with nothing more than a pencil and paper, but provides absolute message security. If properly applied, it is mathematically impossible for any eavesdropper to decrypt or break the message without the proper key. Keywords : cryptography, one-time pad, encryption, message security, conversion table, steganography, codebook, message verification code, covert communications, Jargon code, Morse cut numbers. version 012-2011 1 Contents Section Page I. Introduction 2 II. The One-time Pad 3 III. Message Preparation 4 IV. Encryption 5 V. Decryption 6 VI. The Optional Codebook 7 VII. Security Rules and Advice 8 VIII. Appendices 17 I. Introduction One-time pad encryption is a basic yet solid method to protect short text messages. This paper explains how to use one-time pads, how to set up secure one-time pad communications and how to deal with its various security issues. It is easy to learn to work with one-time pads, the system is transparent, and you do not need special equipment or any knowledge about cryptographic techniques or math. If properly used, the system provides truly unbreakable encryption and it will be impossible for any eavesdropper to decrypt or break one-time pad encrypted message by any type of cryptanalytic attack without the proper key, even with infinite computational power (see section VII.b) However, to ensure the security of the message, it is of paramount importance to carefully read and strictly follow the security rules and advice (see section VII).
    [Show full text]
  • The Enigma History and Mathematics
    The Enigma History and Mathematics by Stephanie Faint A thesis presented to the University of Waterloo in fulfilment of the thesis requirement for the degree of Master of Mathematics m Pure Mathematics Waterloo, Ontario, Canada, 1999 @Stephanie Faint 1999 I hereby declare that I am the sole author of this thesis. I authorize the University of Waterloo to lend this thesis to other institutions or individuals for the purpose of scholarly research. I further authorize the University of Waterloo to reproduce this thesis by pho­ tocopying or by other means, in total or in part, at the request of other institutions or individuals for the purpose of scholarly research. 11 The University of Waterloo requires the signatures of all persons using or pho­ tocopying this thesis. Please sign below, and give address and date. ill Abstract In this thesis we look at 'the solution to the German code machine, the Enigma machine. This solution was originally found by Polish cryptologists. We look at the solution from a historical perspective, but most importantly, from a mathematical point of view. Although there are no complete records of the Polish solution, we try to reconstruct what was done, sometimes filling in blanks, and sometimes finding a more mathematical way than was originally found. We also look at whether the solution would have been possible without the help of information obtained from a German spy. IV Acknowledgements I would like to thank all of the people who helped me write this thesis, and who encouraged me to keep going with it. In particular, I would like to thank my friends and fellow grad students for their support, especially Nico Spronk and Philippe Larocque for their help with latex.
    [Show full text]
  • Vigen`Ere Cipher – Friedman's Attack
    Statistics 116 - Fall 2002 Breaking the Code Lecture # 5 – Vigen`ere Cipher – Friedman’s Attack Jonathan Taylor 1 Index of Coincidence In this lecture, we will discuss a more “automated” approach to guessing the keyword length in the Vigen`erecipher. The procedure is based on what we will call the index of coincidence of two strings of text S1 and S2 of a given length n. The index of coincidence is just the proportion of positions in the strings where the corresponding characters of the two strings match, and is defined for the strings S1 = (s11, s12, . , s1n) and S2 = (s21, s22, . , s2n) n 1 X I(S ,S ) = δ(s , s ) 1 2 n 1i 2i i=1 where the function ( 1 if x = y δ(x, y) = 0 otherwise. Now, in our situation we have to imagine that the string we observe is “random”. Suppose then, that S1 and S2 are two random strings generated by choosing letters at random with the frequencies (p0, . , p25) and (q0, . , q25), respectively. If the strings are random we can talk about the “average” index of coincidence of the two strings S1 and S2. In statistics, if we have a random quantity X we write E(X) for the “expectation” or “average” of X. It is not difficult to show that if S1 is a string of random letters with frequencies (p0, . , p25) and (q0, . , q25) then the average index of coincidence of these two strings is given by 25 X piqi. (1) i=0 1 This is because, for any of the letters in the string, the probability that the two characters match is the probability that they are both A’s, both B’s, .
    [Show full text]
  • Loads of Codes – Cryptography Activities for the Classroom
    Loads of Codes – Cryptography Activities for the Classroom Paul Kelley Anoka High School Anoka, Minnesota In the next 90 minutes, we’ll look at cryptosystems: Caesar cipher St. Cyr cipher Tie-ins with algebra Frequency distribution Vigenere cipher Cryptosystem – an algorithm (or series of algorithms) needed to implement encryption and decryption. For our purposes, the words encrypt and encipher will be used interchangeably, as will decrypt and decipher. The idea behind all this is that you want some message to get somewhere in a secure fashion, without being intercepted by “the bad guys.” Code – a substitution at the level of words or phrases Cipher – a substitution at the level of letters or symbols However, I think “Loads of Codes” sounds much cooler than “Loads of Ciphers.” Blackmail = King = Today = Capture = Prince = Tonight = Protect = Minister = Tomorrow = Capture King Tomorrow Plaintext: the letter before encryption Ciphertext: the letter after encryption Rail Fence Cipher – an example of a “transposition cipher,” one which doesn’t change any letters when enciphered. Example: Encipher “DO NOT DELAY IN ESCAPING,” using a rail fence cipher. You would send: DNTEAIECPN OODLYNSAIG Null cipher – not the entire message is meaningful. My aunt is not supposed to read every epistle tonight. BXMT SSESSBW POE ILTWQS RIA QBTNMAAD OPMNIKQT RMI MNDLJ ALNN BRIGH PIG ORHD LLTYQ BXMT SSESSBW POE ILTWQS RIA QBTNMAAD OPMNIKQT RMI MNDLJ ALNN BRIGH PIG ORHD LLTYQ Anagram – use the letters of one word, phrase or sentence to form a different one. Example: “Meet behind the castle” becomes “These belched a mitten.” Substitution cipher – one in which the letters change during encryption.
    [Show full text]
  • Code-Based Cryptography — ECRYPT-CSA Executive School on Post-Quantum Cryptography
    Code-based Cryptography | ECRYPT-CSA Executive School on Post-Quantum Cryptography 2017 TU Eindhoven | Nicolas Sendrier Linear Codes for Telecommunication linear expansion data - codeword ? k n > k noisy channel data? noisy codeword decoding [Shannon, 1948] (for a binary symmetric channel of error rate p): k Decoding probability −! 1 if = R < 1 − h(p) n (h(p) = −p log2 p − (1 − p) log2(1 − p) the binary entropy function) Codes of rate R can correct up to λn errors (λ = h−1(1 − R)) For instance 11% of errors for R = 0:5 Non constructive −! no poly-time algorithm for decoding in general N. Sendrier { Code-Based Public-Key Cryptography 1/44 Random Codes Are Hard to Decode When the linear expansion is random: • Decoding is NP-complete [Berlekamp, McEliece & van Tilborg, 78] • Even the tiniest amount of error is (believed to be) hard to re- move. Decoding n" errors is conjectured difficult on average for any " > 0 [Alekhnovich, 2003]. N. Sendrier { Code-Based Public-Key Cryptography 2/44 Codes with Good Decoders Exist Coding theory is about finding \good" codes (i.e. linear expansions) n • alternant codes have a poly-time decoder for Θ errors log n • some classes of codes have a poly-time decoder for Θ(n) errors (algebraic geometry, expander graphs, concatenation, . ) N. Sendrier { Code-Based Public-Key Cryptography 3/44 Linear Codes for Cryptography linear expansion plaintext - codeword ? k n > k intentionally add errors plaintext ciphertext decoding • If a random linear code is used, no one can decode efficiently • If a \good" code is used, anyone who knows the structure has access to a fast decoder Assuming that the knowledge of the linear expansion does not reveal the code structure: • The linear expansion is public and anyone can encrypt • The decoder is known to the legitimate user who can decrypt • For anyone else, the code looks random N.
    [Show full text]
  • CODE SCHOOL: TOP SECRET COMMUNICATIONS DURING WWII Codes and Ciphers a Code Is a Word Or Message That Is Replaced with an Agreed Code Word Or Symbol
    CODE SCHOOL: TOP SECRET COMMUNICATIONS DURING WWII Codes and Ciphers A code is a word or message that is replaced with an agreed code word or symbol. A cipher is when each letter in an alphabet is replaced with another letter, number, picture, or other symbol. Ciphers always have key that is shared among those sending and receiving the message. A coded message would be like saying, “The eagle has landed!”, while a cipher may look like this: 8-5-12-12-15. In the cipher, each letter of the alphabet has been replaced by its corresponding number (A = 1). Do you know the message? Communications during Wartime Navajo Code Talkers Humans figured out how to send secret One incredible example of transmitting secret messages a long time ago. The Greeks used messages was through the US’s use of the something we now call the Caesar cipher (the Navajo language. More than 400 Navajo alphabet is shifted so each letter is replaced by Indians served as code talkers, communicating a different one), while Spartans used a device secret messages for the U.S. Marines. These called a scytale (where a message was written Navajo servicemen were specially trained to on a piece of paper and would be read using a use their own language to communicate during special rod). battles throughout the Pacific campaign. The Navajo code used their own Navajo words to stand for English words. For example, the English word “air” was translated into the Navajo word for air. If an English word did not exist in the Navajo language, they would use Navajo words to symbolize the English word— Skytale submarine became besh-lo, meaning iron fish.
    [Show full text]
  • An Improved Encryption Process Using One-Time Pad Together with Graph Labeling
    International Journal of Recent Technology and Engineering (IJRTE) ISSN: 2277-3878, Volume-8 Issue-4S5, December 2019 An Improved Encryption Process using One-Time Pad Together With Graph Labeling Jaya Shruthy V. N., V. Maheswari with the aid of Cipher clue the receiver is able to retrieve back Abstract: In this Research paper we discuss the encryption the plaintext. technique of secret messages using One -Time Pad encryption technique accompanied with Graph Labeling. Theoretically the II. LITERATURE REVIEW One - Time Pads (OTPs) are recognized as the truly unbreakable Ciphers as messages are encrypted with unique keys based on In paper [3], [4] and [5] Harmonious labeling techniques on randomness thereby paving no way to “Crack the Code” when various Graph structures and some of their properties have applied properly. Though OTPs have their own limitations the been studied. [6], [7] and [8] showcases new methodology efficiency of this Cipher can be improved by maintaining the and researches involved in encryption techniques using utmost secrecy of the ciphering key and destroying it One-Time Pads, its uses, drawbacks etc. For some basic immediately after its implementation. To add a feather to its terminologies on Graph labeling we refer [1]. In [2] our work features the encryption procedure through One -Time Pads can be further enhanced by joining hands with Graph labeling on double encryption process using Graph labeling through Technique. The resulting Ciphertext is represented as a Cipher enhanced Vigenere Cipher Technique encouraged us to carry Graph which is passed over to the receiver. We apply out some more research in this area with slight variations and Harmonious labeling technique to this Cipher graph which our current work is one among them.
    [Show full text]
  • Top Secret! Shhhh! Codes and Ciphers
    Top Secret! Shhhh! Codes and Ciphers 20 15 16 19 5 3 18 5 20 19 8 8 8 Can you figure out what this message says? Do you love secret codes? Do you want to be able to write messages to friends that no one else can read? In this kit you will get to try some codes and learn to code and decode messages. Materials Included in your Kit Directions and template pages Answer key for all codes in this packet starts on page 8. 1 #2 Pencil 1 Brad Fastener Tools You’ll Need from Home Scissors A Piece of Tape Terminology First let’s learn a few terms together. CODE A code is a set of letters, numbers, symbols, etc., that is used to secretly send messages to someone. CIPHER A cipher is a method of transforming a text in order to conceal its meaning. KEY PHRASE / KEY OBJECT A key phrase lets the sender tell the recipient what to use to decode a message. A key object is a physical item used to decrypt a code. ENCRYPT This means to convert something written in plain text into code. DECRYPT This means to convert something written in code into plain text. Why were codes and ciphers used? Codes have been used for thousands of years by people who needed to share secret information with one another. Your mission is to encrypt and decrypt messages using different types of code. The best way to learn to read and write in code is to practice! SCYTALE Cipher The Scytale was used by the ancient Greeks.
    [Show full text]
  • Guide to Secure Communications with the One-Time Pad Cipher
    Cipher Machines & Cryptology Ed. 7.5 – Jun 11, 2018 © 2009 - 2018 D. Rijmenants http://users.telenet.be/d.rijmenants THE COMPLETE GUIDE TO SECURE COMMUNICATIONS WITH THE ONE TIME PAD CIPHER DIRK RIJMENANTS Abstract : This paper provides standard instructions on how to protect short text messages with one-time pad encryption. The encryption is performed with nothing more than a pencil and paper, but provides absolute message security. If properly applied, it is mathematically impossible for any eavesdropper to decrypt or break the message without the proper key. Keywords : cryptography, one-time pad, encryption, message security, conversion table, steganography, codebook, covert communications, Morse cut numbers. 1 Contents 1. Introduction………………………………. 2 2. The One-time Pad………………………. 3 3. Message Preparation…………………… 4 4. Encryption………………………………... 5 5. Decryption………………………………... 6 6. The Optional Codebook………………… 7 7. Security Rules and Advice……………… 8 8. Is One-time Pad Really Unbreakable…. 16 9. Legal Issues and Personal Security…... 18 10. Appendices………………………………. 19 1. Introduction One-time pad encryption is a basic yet solid method to protect short text messages. This paper explains how to use one-time pads, how to set up secure one-time pad communications and how to deal with its various security issues. Working with one-time pads is easy to learn. The system is transparent and you do not need a computer, special equipment or any knowledge about cryptographic techniques or mathematics. One-time pad encryption is an equation with two unknowns, which is mathematically unsolvable. The system therefore provides truly unbreakable encryption when properly used. It will never be possible to decipher one-time pad encrypted data without having the proper key, regardless any existing or future cryptanalytic attack or technology, infinite computational power or infinite time.
    [Show full text]
  • The Mathematics of the Enigma Machine Student: Emily Yale Supervisor: Dr Tariq Jarad
    The Mathematics of the Enigma Machine Student: Emily Yale Supervisor: Dr Tariq Jarad The Enigma Machine is a mechanical encryption device used mainly by the German Forces during WWII to turn plaintext into complex ciphertext, the same machine could be used to do the reverse (Trappe and Washington, 2006). Invented by the German engineer Arthur Scherbius at the end of World War I the cipher it produced was marketed as ‘unbreakable’ (Trappe and Washington, 2006). Adopted by the German military forces, it worked by layering a number of substitution ciphers that were decided by an excess of 1.589x1021 machine settings. With help from Polish and French mathematicians, the cryptographer named Alan Turing created a machine known as the ‘Bombe’ which helped to reduce the time taken to ‘break’ an Enigma cipher (Imperial War Museums, 2015). The report this poster is based on focuses on the mathematics of the Enigma machine as well as the methods used to find the settings for a piece of ciphertext. Advantages and disadvantages of the Enigma code will be explored, alternative cipher machines are considered. Aims and Objective Bombe (Group Theory) • A brief insight into Cryptography The Bombe was a machine that could be used to find the key to an • The history of the Enigma Machine Enigma cipher. It was modelled on the Polish machine, Bomba, which • The mechanism of the Enigma Machine could also do same before Enigma was enhanced. Bombe could find the • The mathematics of the Bombe settings on an Enigma machine that had been used to encrypt a • Understanding Group Theory ciphertext.
    [Show full text]
  • A Brief History of Cryptography
    University of Tennessee, Knoxville TRACE: Tennessee Research and Creative Exchange Supervised Undergraduate Student Research Chancellor’s Honors Program Projects and Creative Work Spring 5-2000 A Brief History of Cryptography William August Kotas University of Tennessee - Knoxville Follow this and additional works at: https://trace.tennessee.edu/utk_chanhonoproj Recommended Citation Kotas, William August, "A Brief History of Cryptography" (2000). Chancellor’s Honors Program Projects. https://trace.tennessee.edu/utk_chanhonoproj/398 This is brought to you for free and open access by the Supervised Undergraduate Student Research and Creative Work at TRACE: Tennessee Research and Creative Exchange. It has been accepted for inclusion in Chancellor’s Honors Program Projects by an authorized administrator of TRACE: Tennessee Research and Creative Exchange. For more information, please contact [email protected]. Appendix D- UNIVERSITY HONORS PROGRAM SENIOR PROJECT - APPROVAL Name: __ l1~Ui~-~-- A~5-~~± ---l(cl~-~ ---------------------- ColI e g e: _l~.:i~_~__ ~.:--...!j:.~~~ __ 0 epa r t men t: _ {~~.f_':.~::__ ~,:::..!._~_~_s,_ Fa c u 1ty Me n tor: ____Q-' _·__ ~~~~s..0_~_L __ D_~_ ~_o_~t _______________ _ PRO JE CT TITL E: ____~ __ ~c ~ :.f __ l1L~_ ~_I_x __ 9_( __( ~~- ~.t~~-.r--~~ - I have reviewed this completed senior honors thesis "\lith this student and certifv that it is a project commensurate with honors level undergraduate research in this field. Signed ~u:t2~--------------- , Facultv .'vfentor Date: --d~I-~--Q-------- Comments (Optional): A BRIEF HISTORY OF CRYPTOGRAPHY Prepared by William A. Kotas For Honors Students at the University of Tennessee May 5, 2000 ABSTRACT This paper presents an abbreviated history of cryptography.
    [Show full text]