Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (9 sloc) 1015 Bytes

EN | ZH #流密码

Stream ciphers typically process information byte by byte or bit by bit. Generally speaking

  • The key length of the stream cipher will be the same as the length of the plaintext.
  • The key of the stream cipher is derived from a shorter key, and the derived algorithm is usually a pseudo-random number generation algorithm.

It should be noted that stream encryption is currently symmetric encryption.

The more random the sequence generated by the pseudo-random number generation algorithm, the better the statistical features in the plaintext are covered.

Stream cipher encryption and decryption is very simple, and in the case of known plaintext, the key stream can be obtained very easily.

The key to stream ciphers is the well-designed pseudo-random number generator. In general, the basic building block of a pseudo-random number generator is a feedback shift register. Of course, there are also some specially designed stream ciphers, such as RC4.

You can’t perform that action at this time.