






















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Prof. Zeph Grunschlag, Computer Science, RSA Encryption, RSA Cryptography, Fast Exponentiation, Extended Euler’s Algorithm, Modular inverses, Fermat’s Little Theorem, Chinese Remainder Theorem, Columbia, Lecture Notes
Typology: Study notes
1 / 94
This page cannot be seen from the preview
Don't miss anything!























































































A useful and basically unbreakable method for encoding messages
Fast Exponentiation
Extended Euler‟s Algorithm
Modular inverses
FLT (Fermat‟s Little Theorem)
CRT (Chinese Remainder Theorem)
FrogsRUs.com provides a large number N (e.g. 1024 bit binary number) and an encryption exponent e. Usually the
blocks with each block less than N. Mr.
number block by the exponent e modulo N and broadcasts these garbled
N = 4559, e = 13.
L A S T N A M E S M I L E Y
N = 4559, e = 13.
L A S T N A M E S M I L E Y
1201 1920 0014 0113 0500 1913 0912 0525
N = 4559, e = 13.
L A S T N A M E S M I L E Y
1201 1920 0014 0113 0500 1913 0912 0525
120113 mod 4559 , 192013 mod 4559, …
2853 0116 1478 2150 3906 4256 1445 2462
blocks n = m e^ mod N. They have a private decryption exponent d which when applied to n recovers the original blocks m : (m e^ mod N )^ d^ mod N = m
For N = 4559, e = 13 the
decryptor d = 3397.
N = 4559, d = 3397
2853 0116 1478 2150 3906 4256 1445 2462
28533397 mod 4559 , 01163397 mod 4559, …
N = 4559, d = 3397
2853 0116 1478 2150 3906 4256 1445 2462
28533397 mod 4559 , 01163397 mod 4559, …
1201 1920 0014 0113 0500 1913 0912 0525
N = 4559, d = 3397
2853 0116 1478 2150 3906 4256 1445 2462
28533397 mod 4559 , 01163397 mod 4559, …
1201 1920 0014 0113 0500 1913 0912 0525
L A S T N A M E S M I L E Y
The public key (N,e) must be such that
Snoop to figure out what d is, yet very