Stream Cipher

In cryptography, a stream cipher is a symmetric key cipher where plaintext digits are combined with a pseudorandom cipher digit stream (keystream). In a stream cipher each plaintext digit is encrypted one at a time with the corresponding digit of the keystream, to give a digit of the cyphertext stream. An alternative name is a state cipher, as the encryption of each digit is dependent on the current state. In practice, a digit is typically a bit and the combining operation an exclusive-or (xor).

The pseudorandom keystream is typically generated serially from a random seed value using digital shift registers. The seed value serves as the cryptographic key for decrypting the ciphertext stream.

Stream ciphers represent a different approach to symmetric encryption from block ciphers. Block ciphers operate on large blocks of digits with a fixed, unvarying transformation. This distinction is not always clear-cut: in some modes of operation, a block cipher primitive is used in such a way that it acts effectively as a stream cipher. Stream ciphers typically execute at a higher speed than block ciphers and have lower hardware complexity. However, stream ciphers can be susceptible to serious security problems if used incorrectly (see stream cipher attacks); in particular, the same starting state (seed) must never be used twice.

Read more about Stream CipherLoose Inspiration From The One-time Pad, Types of Stream Ciphers, Linear Feedback Shift Register-based Stream Ciphers, Other Designs, Security, Usage, Comparison of Stream Ciphers, Trivia

Other articles related to "ciphers, stream cipher, stream, cipher":

BEAR And LION Ciphers
... The BEAR and LION block ciphers were invented by Ross Anderson and Eli Biham by combining a stream cipher and a cryptographic hash function ... Both are 3 round generalized Feistel ciphers, using the hash function and the stream cipher as round functions ... LION uses the stream cipher twice and the hash function once ...
Panama (cryptography)
... which can be used both as a hash function and a stream cipher ... Daemen and Craig Clapp and presented in the paper Fast Hashing and Stream Encryption with PANAMA on the Fast Software Encryption (FSE) conference 1998 ... The cipher has influenced several other designs, for example MUGI ...
Stream Cipher - Trivia
... United States National Security Agency documents sometimes use the term combiner-type algorithms, referring to algorithms that use some function to combine a pseudorandom number generator (PRNG) with a plaintext stream. ...

Famous quotes containing the words cipher and/or stream:

    It is not an arbitrary “decree of God,” but in the nature of man, that a veil shuts down on the facts of to-morrow; for the soul will not have us read any other cipher than that of cause and effect. By this veil, which curtains events, it instructs the children of men to live in to-day.
    Ralph Waldo Emerson (1803–1882)

    Married love is a stream that, after a certain length of time, sinks into the earth and flows underground. Something is there, but one does not know what. Only the vegetation shows that there is still water.
    Gerald Branan (1894–1987)