





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!






2
3
4
you are here participation helps, frequent absences hurts
5
print before lecture; annotate during lecture (^) skim before lecture; read thoroughly afterwards Princeton royalties donated to ACM-W 6
you solve scientific problems from scratch! 7
see Donna O'Leary in CS 410 if the only precept you can attend is closed 8
· · ·
17 char dec binary Base64 Encoding A 0 000000 B 1 000001 … … … Y 24 011000 … … …
0 or 1 18
19
x y x ^ y XOR Truth Table 0 0 0 0 1 1 1 0 1 1 1 0 sum corresponding pair of bits: 1 if sum is odd, 0 if even 0 ^ 1 = 1 20
char dec binary Base64 Encoding A 0 000000 B 1 000001 … … … X 23 010111 … … …
21
22
23
char dec binary Base64 Encoding A 0 000000 B 1 000001 … … … X 23 010111 … … … 24
34
"one time" means one time only impractical for Web commerce eavesdropper Eve sees only random bits 36
Jon von Neumann (left), ENIAC (right)
37
instead of identical large one-time pads 38
39
LFSR demo
feedback 40
110010010011110110111001011010111001100010111111010010000100110100101111001100100111111 101110000010101100010000111010100110100001111001001100111011111110101000001000010001010 010101000110000010111100010010011010110111100011010011011100111101011110010001001110101 011101000001010010001000110101010111000000010110000010011100010111011010010101100110000 111111100110000011111100011000011011110011101001111010011100100111011101110101010101000 000000010000000010100000010001000010101010010000000110100000111001000110111010111010100 010100001010001001000101011010100001100001001111001011100111001011110111001001010111011 000010101110010000101110100100101001101100011110111011001010101111000000100110000101111 100100100011101101011010110001100011101111011010100101100001100111001111110111100001010 011001000111111010110000100011100101011011100001101011001110001111101101100010110111010 011010100111100001110011001101111111110100000001001000001011010001001100101011111100001 000011001010011111000111000110110110111011011010101101100000110111000111010110110100011 011001011101111001010100111000001110110001101011101110001010101101000000110010000111110 100110001001111101011100010001011010101001100000011111000011000110011110111111001010000 111000100110110101111011000100101110101100101000111100010110011010011111100111000011110 110011001011111111001000000111010000110100100111001101110111110101010001000000101010000 100000100101000101100010100111010001110100101101001100110011111111111000000000110000000 111100000110011000111111110110000001011100001001011001011001111001111100111100011110011 011001111101111100010100011010001011100101001011100011001011011111001101000111110010110 001110011101101111010110100100011001101011111110001000001101010001110000101101100100110 111101111010010100100110001101111101110100010101001010000011000100011110101011001000001 111010001100100101111101100100010111101010010010000110110100111011001110101111101000100 01001010101011000000001110000001101100001110111001101010111110000010001100010101111010
41
42