DOC PREVIEW
MIT 6 033 - Lecture Notes

This preview shows page 1-2 out of 6 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 6 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 6 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 6 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Slide 1Slide 2Slide 3Slide 4Slide 5Slide 66.033 Lecture 22Nickolai ZeldovichSpring 2009RC4InitializationS[0..255] = permutation of 0..255 (based on key)i = 0j = 0i j S[0] S[1] S[2] ... S[255]RC4InitializationS[0..255] = permutation of 0..255 (based on key)i = 0j = 0Generate pseudo-random bytei = (i + 1) mod 256j = (j + s[i]) mod 256swap S[i] S[j]↔x = (S[i] + S[j]) mod 256return S[x]i j S[0] S[1] S[2] ... S[255]RSANInitializationp = random large primeq = random large primeN = p * qRSANe dInitializationp = random large primeq = random large primeN = p * qe = random, does not divide (p–1)*(q–1)Compute d, such that d*e==1 mod (p-1)*(q-1)RSANe dInitializationp = random large primeq = random large primeN = p * qe = random, does not divide (p–1)*(q–1)Compute d, such that d*e==1 mod (p-1)*(q-1)Encrypt(m, N, e) c:→c = me mod NDecrypt(c, N, d) m:→m = cd mod NK1


View Full Document

MIT 6 033 - Lecture Notes

Documents in this Course
TRIPLET

TRIPLET

12 pages

End Layer

End Layer

11 pages

Quiz 1

Quiz 1

4 pages

Threads

Threads

18 pages

Quiz I

Quiz I

15 pages

Atomicity

Atomicity

10 pages

QUIZ I

QUIZ I

7 pages

Load more
Download Lecture Notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture Notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture Notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?