Salsa20 by Daniel J. Bernstein is a stream cipher built on a pseudo-random function.

learn more… | top users | synonyms

4
votes
3answers
662 views

What is the PRG period of stream ciphers such as RC4 or Salsa20?

I am confused about how long a stream cipher can be used before you should change the key. To be concrete, let me use the stream cipher based on RC4 as an example. Let's say I want to encrypt a very ...