You are on page 1of 1

CCN MINI PROJECT

ABSTRACT:
RC4 (also known as Rivest Cipher 4) is a form of stream cipher. It encrypts messages one byte
at a time via an algorithm.
Plenty of stream ciphers exist, but RC4 is among the most popular. It's simple to apply, and it
works quickly, even on very large pieces of data. If you've ever used an application like TSL
(transport layer security) or SSL (secure socket layer), you've probably encountered RC4
encryption.

RC4 Encryption Algorithm


RC4 is a stream cipher and variable-length key algorithm. This algorithm encrypts one byte at a
time (or larger units at a time). A key input is a pseudorandom bit generator that produces a
stream 8-bit number that is unpredictable without knowledge of input key, The output of the
generator is called key-stream, is combined one byte at a time with the plaintext stream cipher
using X-OR operation.

RC4 is a symmetric key stream cipher used for encryption and decryption. Decryption in RC4 is
done by performing the same algorithm used for encryption, but in reverse order.
Here are the steps for RC4 decryption:
Initialize the RC4 state with the same key used for encryption. This is done by performing the
Key Scheduling Algorithm (KSA) using the key.
Generate the same keystream used for encryption by performing the Pseudo Random
Generation Algorithm (PRGA) using the RC4 state.

Team members:
Gorikapudi Anne RA2011053010052
Doddi Muralidhar RA2011053010038
Ch.Naga Sruthi RA2011053010060

You might also like