







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!








1
Spring 2005
2
Weakest link principle.
message so that its meaning is not obvious.
A system for encryption and decryption is
T
S: Sender R: Receiver T: Transmission line O: Observer, Intruder
4
Fabricate the message => integrity
5
Plaintext P=(p 1 ,p 2 ,…,pn ) Ciphertext C=(c 1 ,c 2 ,…,c (^) n ) C=e(P), P=d(C) P=d(e(P))
Plaintext Encryption Ciphertext^ Decryption
Plaintext
Symmetric cryptosystem. Plaintext P=(p 1 ,p 2 ,…,pn ). Ciphertext C=(c 1 ,c 2 ,…,c (^) n ). C=E(K,P), P=D(K,C). P=D(K,E(K,P)). E and D are mirror processes.
Plaintext Encryption Ciphertext^ Decryption
Plaintext
K
10
Assume that 10^30 options are somehow (intelligent search) reduced to 10^15. With 10^10 ciphers checked per second, it takes
11
Substitutions (letter exchanges) Transpositions (rearranging the order of letters)
English alphabet: A-Z Letters: A B C D E... Y Z Numbers: 0 1 2 3 4 24 25 A + 3 = D, K – 1 = J, etc. Plaintext: upper case, Ciphertext: lowercase
Example: f(x) = (x+N) MOD 26, where X is a letter, N is an integer, f(x) is the cipher representing x
c (^) i=E(pi)= pi + Example: B I O M E T R I C S e l r p h w u l f v Advantages: Easy to perform in the field, easy to remember Disadvantage: Obvious pattern.
13
F(x) = x+
ss->vv w, l, and h appear twice
14
wklv phvvdjh lv qrw wrr kdug wr euhdn ????????????????????????????????????? Too many obvious clues. Short English words, word breaks, blank-to-blank mapping (frequently masked). Any permutation is a legal cipher Π(α)=25-α, Π(α)=(3*α) mod 26. Keywords (for example, SPECTACULAR)
y
Y s pe c t a ul r bdf ghi j k mnoqv wx z
ABCDEF GHI J KL MNOPQRSTUVWX Z
Short words, repeated letters, common initial and final word letters. Guess and substitute until you reach a solution or a contradiction.
Language dependent. Field (of the message) dependent. Age dependent.
19
Goal: Secure ciphertext should have a flat alphabet distribution. Mean: Combine different encoding schemes.
20
Characters in odd positions: Π 1 (α)=(3α) mod 26. Characters in even positions: Π 2 (α)=(5α+13) mod 26.
ΠΠ 12 + f umn f d y v t v c z y s h h
1 wuh d w b l p s r v v l e o^ h
From Dickens’, “A tale of two cities”, opening paragraph. Π1(α)=α, Π2(α)=25-α.
22
But how to keep track?
23
1 st^ column: Plaintext letter 1 st^ row: Key alphabet Write alphabet keyword above the plaintext, use it for selecting the permutation.
u v r s g f l c m h t h
b o j a n b o j a n b o
28
Spring 2005
29
If k>n, it is encoded at least twice the same way! The distance between repeated patterns must be a multiple of keyword length.
IC uses statistical observations to determine the number of monoalphabetic ciphers. If all letters in the alphabet were equally likely, the distribution would be flat. So, a flad distribution is a goal of polyalphabetic ciphers! By mixing different monoalphabetic ciphers, the variance from the flat distribution changes!
31
You may compute the IC for each individual cipher to confirm results.
32
Vigenere table is rigid. Allows for only 26 different alphabets.
alphabets confounds the Kasiski method. Any repeating sequences are purely accidental.
A large non-repeating set of keys written on sheets of paper, glued together. Need 15 keys 20 characters long keys for 300 characters long message. A table used for actual permutations. Problems: Absolute synchronization between S and R Printing, distributing, storing, accounting of such long key sequences.
37
Decide the likely distance. Do common digrams appear? Record frequency. Do most digrams look reasonable? Compute variances among recorded digram frequencies.
T T
T H E I E
T T
T H E I E
38
English (base-26) transformed to standard Morse (base-2) alphabet. Morse (base-2) to Fractioned Morse (base- 3). Weaknesses common word endings result in relatively frequent patterns. Repeated words.
Needed secrecy determines the amount of labor needed for E and D. Key choices and enciphering algorithm should be free of complexity. Process implementation as simple as possible. Ciphering errors should not propagate. Ciphering should not enlarge the text.