


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



The word “cryptography” comes from the latin root crypt meaning secret, and graphia, meaning writing. So cryptography is literally the study of how to send secret messages. In the next few lectures we shall study encryption schemes as well as some other fundamental goals of cryptography: authentication and digital signatures.
Schemes for sending secret messages go back to antiquity - the Romans used the “Caesar cypher” which consists of permuting the alphabet by simply shifting each letter forward by a fixed amount. For example, Caesar used a shift by 3 so the message “cryptography” would be encoded as ”fubswrjudskb”. With the developement of the telegraph (wireless communication) at the end of the nineteenth century, the need for encryption in military and diplomatic communications became particularly important. The codes that were used during this “pen and ink” period were relatively simple since messages had to be decoded by hand. The codes were not very secure especially with the use of mathematical and statistical techniques.
The second phase of cryptography, the “mechanical era” was the result of an intense German project to create a mechanical device for encrypting messages in an unbreakable code. The resulting Enigma machine was a remarkable engineering feat. Even more remarkable was the massive British effort to break the code. The breaking of the Enigma code was an important event that determined the course of World War II, and according to most experts shortened the war by about a year. There were two important factors in the break- ing of the Enigma code: first, the British managed to obtain a replica of a working Enigma machine from Poland, which had cracked a simpler version of the code. The second factor was scale and sophistication of the code breaking effort, first by the Poles, who employed a large contingent of mathematicians to crack the structure, and then by the British, whose massive effort included Alan Turing, one of the founding fathers of computer science.
Modern cryptography is distinguished by its reliance on mathematics and electronic computers. It has its early roots in the work of Claude Shannon following World War II. The analysis of the one-time pad later in this lecture is due to Shannon. The early seventies saw the the introduction of the cryptosystem DES by NIST (the National Institute for Standards in Technology). DES answered the growing need for digital encryption standards in banking and other business. The decade starting in the late seventies saw an explosion of work on a computational theory of cryptography.
The most basic problem in cryptography is one of ensuring the security of communications across an in- secure medium. The two main members of the cast of characters in cryptography are Alice and Bob who wish to communicate securely as though they were in the same room or were provided with a dedicated, untappable line. In actual fact they have available a telephone line or an internet connection which can be tapped by an eavesdropping adversary, Eve. The goal is to design a scheme for scrambling the messages between Alice and Bob in such a way that Eve has no clue about the content of their exchange. In other words we wish to simulate the ideal commuication channel with the available insecure channel.
In a symmetric trust model or the shared-key model, Alice and Bob share a random key K that is unknown to Eve. Alice encrypts her message A based on the key K , and Bob decrypts the received ciphertext (to recover
the original message, the plaintext) using the same key K. Let us now examine the threat model, which in this setting involves answering the question, how powerful is Eve? We will assume that Eve knows the encryption and decryption algorithms. The only information she is missing is the secret key K. There are several possibilities about how much access Eve has to the insecure channel:
The one time pad is a simple and idealized encryption scheme that will help illustrate some important concepts. Alice and Bob share an n-bit secret key K = k 1... kn where the bits k 1 ,... kn are picked at random (they are the outcomes of independent unbiased coinflips). Suppose Alice wishes to send the n-bit message M = m 1 ,... mn. The desired properties of the encryption scheme are:
The encryption scheme is very simple: c (^) j = m (^) j ⊕ k (^) j , where ⊕ is the xor or exclusive-or of the two bits (0 if the two bits are the same and 1 if they are different). Decryption is equally simple: m (^) j = c (^) j ⊕ k (^) j. To sum up, the one-time pad (or any symmetric encryption scheme) is described by specifying three proce- dures: Key generation: Alice and Bob pick a shared random key K. Encryption algorithm: C = M ⊕ K. Decryption algorithm: M = C ⊕ K. Let us now analyze how much information Eve gets about the plaintext M by intercepting the ciphertext C. What is the correct measure of this information gained by Eve. It might be the case that Eve had some partial information about A to begin with. Perhaps she knew that the last bit of A is a 0 or that 90% of the bits of A are 1′ s. We wish to show that after intercepting B , Eve gets no additional information about A. We will show this by proving that no matter what the value of M is, the ciphertext C is a uniformly random n-bit string. Another way of saying this is the following:
128, 192 or 256 bits.