Stream Cipher
Stream Cipher
Stream cipher
A stream cipher is a type of symmetric encryption
algorithm. A stream cipher makes use of a much
smaller and more convenient key — 32 bits, for
example. Based on this key, it generates a
pseudorandom key stream (a sequence of bits
used as a key). which can be combined with the
plaintext digits by bit wise XOR operation. In a
stream cipher the plaintext digits are encrypted
one byte at a time.
Structure of Stream cipher
Properties of Stream Cipher
RC4("Key","Plaintext")==BBF316E8D940AF0AD3.
8000
7000
Time (Microsecond) 6000
5000
4000 Encryption Time
3000
2000
1000
0
0 32 64 96 128 160
File Size (KB)
Graph for Decryption Time of RC4
Algorithm
8000
7000
Time (Microsecond)
6000
5000
4000 Decryption Time
3000
2000
1000
0
0 32 64 96 128 160
File Size (KB)
HOME TASK