Implement the stream cipher RC4 but use 16x4 bits instead of the full 256 bytes. That is,
Fantastic news! We've Found the answer you've been seeking!
Question:
Implement the stream cipher RC4 but use 16x4 bits instead of the full 256 bytes. That is, the state vector S is 16x4 bits. Assume that a plaintext of P = [3 5 4 6 9 11 13 12], and an 8x4-bit key of K = [1 3 5 7 9 11 13 15] are given.
Answer the following by demonstrating your work step by step:
- Initialize the state vector S and temporary vector T.
- Perform the initial permutation on S.
- Generate the key stream.
- Produce the ciphertext for the given plaintext P.
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: