Encryption on the Internet Jeff Cohen
Keeping Information Secret What information do we want to be secret? –Credit card number –Social security number –Personal communication Insecure communication (hackers)
Shared Secrets Two people, in private, make secret code No one else knows secret No one else can read their messages Great for codes with people you know Not so great on the Internet
Requirements No shared secrets Private secrets are OK I’ll keep some information public I’ll publish the rest
Factoring You can factor easily: 15 = 3 x 5 But humans can’t factor this: If the numbers are big enough, neither can a computer We can hide all the information in factoring
The RSA Cryptosystem Pick large primes p and q n = pq Pick e and d so that ed / [(p-1)(q-1)] has a remainder of 1 Publish n and e Encryption: E(M) = M e mod n Decryption: D(M) = M d mod n Cannot find d if we only know e and n n = = x e = d = 11 cabbage => = M E( ) = D( ) =