Pure Python Salsa20 Stream Cipher Implementation
Sat Feb 9 09:48:45 CET 2008
betabrain.honshu at gmail.com writes:
> The reason for a pure python is that it would be independent from the
> platform. A C implementation is faster, but you need to compile it for
> every platform. A python implementation doesn't have that problem and
> could be used to fall back upon.
But why salsa20 in that case, unless it's approved as a standard? If
you're willing to put up with terrible performance in the fallback
implementation, you may as well use AES, which is a standard. If you
want reasonable performance in the fallback implementation, use
one of the hashlib functions as a cipher.
More information about the Python-list