Stream Cipher

created by Dataknife
(thing) by Dataknife (1.5 d) (print)   ?   (I like it!) Wed Nov 08 2000 at 23:14:21
A Stream Cipher is a type of encryption algorithm that operates on individual elements in a data stream, such as a character or a binary digit. They are less complex to implement in hardware, and are suited for areas that have little to no buffering, such as telecommunications. There is not a lot of literature about these ciphers; most designs are proprietary. They can be either synchronous or self-synchrononizing.
Source: The Handbook of Applied Cryptography, Alfred J. Menezes, Paul C. van Oorschot, and Scott A Vanstone ISBN: 0849385237
(thing) by illusionist (9 mon) (print)   ?   (I like it!) Wed Nov 08 2000 at 23:27:08
A stream cipher is basically any cipher whereby elements are dependent upon previous elements for decryption. The problem with a traditional stream cipher is that each element in the chain contains the method for decrypting the next element. Why is this bad? Well if you get the packets out of order (TCP helps with this), then you have a perfectly random stream of bits (thanks to the waterfall theory; which states that for security to be in place ciphertext should have nothing to do with plaintext). Should something go wrong, you have a random bit firehose, in theory. It should also look like that to any third party who can see your data.

There are very few, if any, publicly used stream ciphers. There are some advantages to them (and i personally know of several apps that take advantage of this for numerous reasons), but all in all, it is best to stick with a block cipher, whereby each data is encrypted the same (ala DES, or 3DES).
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.