{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Unit 3-Symmetric Key Crypto_Part10

Unit 3-Symmetric Key Crypto_Part10 - Unit 3 20 RC4...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Unit 3 - 19 RC4, cont. RC4 uses an arrangement of the numbers 0 to 255 (8 bits each) in an array S which changes over time S is a self-modifying lookup table It consists of two processes A Key-based initialization Algorithm to set up the initial permutation of S based on secret key. A pseudo-random generation algorithm to Swaps elements in current lookup table Selects a keystream byte from table Note that: Each step of RC4 produces a byte, while each step of A5/1 produces only a bit
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Unit 3 - 20 RC4 Initialization Let us denote the secret key of length N as key[i] for i = 0, 1, . .. , N −1, so that each key[i] represents one byte, and the lookup table as S[i], where each S[i] is also a byte. A Key-based initialization Algorithm appears as: for i = 0 to 255 S[ i ] = i K[ i ] = key[ i mod N ] next i j = 0 for i = 0 to 255 j = (j + S [ i ] + K [ i ] ) mod 256 swap( S [ i ], S [ j ]) next i i = j = 0...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern