Documente Academic
Documente Profesional
Documente Cultură
Example
Say plaintext is Hello! and key is
0xA1 2F
Hello! = 0x48 65 6C 6C 6F 21
XOR with 0xA1 2F A1 2F A1 2F
0x48 0xA1
0100 1000 1010 0001 = 1110 1001 =
0xE9
Ciphertext: 0xE9 4A CD 43 CE 0E
10.0
9.1
8.2
8.0
7.0
6.7
6.1
6.0
Pe
rce
nta
ge
6.0
6.3
4.3
4.0
4.0
2.8
2.2
1.5
2.0
2.8
2.4
2.0
1.5
0.2
2.4
1.9
2.0
1.0
0.8
0.2
0.1
0.1
0.0
Letter
Attack time?
Say the key length is between 1 and
L
Determining the key length: 256 L
Determining all bytes of the key:
2562 L
Brute-force key search: 256L
Programming assignment
Use discussion boards for help
Good luck!