keystream
Noun
Meaning
keystream (plural keystreams)
(cryptography) A stream of random or pseudorandom characters that are combined with the plaintext to produce a ciphertext.
Anagrams
Examples
A one-time pad uses a keystream of completely random digits.
A stream cipher is a symmetric key cipher where plaintext digits are combined with a pseudorandom cipher digit stream ( keystream ).
In the most common form, binary digits are used ( bits ), and the keystream is combined with the plaintext using the exclusive or operation (XOR).
Description RC4 generates a pseudorandom stream of bits (a keystream ).
Klein's attack In 2005, Andreas Klein presented an analysis of the RC4 stream cipher showing more correlations between the RC4 keystream and the key.
However, the keystream must be generated completely at random with at least the same length as the plaintext and cannot be used more than once.