Unit 3-Symmetric Key Crypto_Part11

Unit 3-Symmetric Key Crypto_Part11 - The output,...

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

View Full Document Right Arrow Icon
Unit 3 - 21 RC4 Keystream Generation i = (i + 1 ) mod 256 j = (j + S [ i ] ) mod 256 swap (S [ i ] , S [ j ] ) t = (S [ i ] + S [ j ] ) mod 256 keystreamByte = S [ t ] After the initialization phase, each keystream byte is generated by swapping table elements and select byte according to the following algorithm
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: The output, keystreamByte , is a single byte that can be XORed with plaintext (if encrypting) or XORed with ciphertext (if decrypting). Use keystream bytes like a one-time pad Unit 3 - 22 RC4 Keystream Generation...
View Full Document

This note was uploaded on 03/17/2011 for the course ECE 4472 taught by Professor Ouda during the Fall '10 term at UWO.

Page1 / 2

Unit 3-Symmetric Key Crypto_Part11 - The output,...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online