DOC PREVIEW
MIT 6 033 - Lecture Notes

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

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 7 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 7 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Slide 1Slide 2Slide 3Slide 4Slide 5Slide 6MIT OpenCourseWarehttp://ocw.mit.edu 6.033 Computer System Engineering Spring 2009 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.6.033 Lecture 22 Nickolai ZeldovichRC4 Initialization S[0..255] = permutation of 0..255 (based on key) i = 0 j = 0 i j S[0] S[1] S[2] ... S[255]RC4 Initialization Generate pseudo-random byte S[0..255] = i = (i + 1) mod 256 permutation of 0..255 j = (j + s[i]) mod 256 (based on key) swap S[i] S[j] ↔ i = 0 x = (S[i] + S[j]) mod 256 j = 0 return S[x] i j S[0] S[1] S[2] ... S[255]RSA Initialization p = random large prime q = random large prime N = p * q NRSA Initialization p = random large prime q = random large prime N = p * q e = random, does not divide (p–1)*(q–1) Compute d, such that d*e==1 mod (p-1)*(q-1) Ne dRSA Initialization Encrypt(m, N, e) → c: p = random large prime q = random large prime c = m e mod N N = p * q e = random, does not divide (p–1)*(q–1) Compute d, such that d*e==1 mod (p-1)*(q-1) Decrypt(c, N, d) m = c d mod N → m: Ne d K1


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?