RC4 PRGA and Encryption Remember, P = [1 2 2 2]
{"Image DocumentName": "RC4 PRGA and Encryption Remember, P = [ ]", "Image ImageDescription": "So our first 3-bits of ciphertext is obtained by: k XOR P. 5 XOR 1 = 101 XOR 001 = 100 = 4. The second iteration: S = [ ] i = (1 + 1 ) mod 8 = 2. j = (2 + S[2]) mod 8 = 1. Swap(S[2],S[1]) S = [ ] t = (S[2] + S[1]) mod 8 = 3. k = S[3] = 3. Second 3-bits of ciphertext are: 3 XOR 2 = 011 XOR 010 = 001 = 1.", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}