Pure Python Salsa20 Stream Cipher Implementation

Aahz aahz at pythoncraft.com
Mon Feb 11 21:44:11 CET 2008

In article <7xir0vwal8.fsf at ruckus.brouhaha.com>,
Paul Rubin  <http://phr.cx@NOSPAM.invalid> wrote:
>aahz at pythoncraft.com (Aahz) writes:
>> <shrug>  Is there some reason you're using exaggerated language?  My only
>> point is that simply saying "C compiler!  C compiler!" ignores the fact
>> that Python itself is multi-platform (and makes you look foolish);
>> whether any given module should be written in pure Python needs to be
>> decided on a case-by-case basis.
>Certainly one of salsa20's main design features is that it's supposed
>to be faster than AES-CTR.  Therefore any implementation other than a
>native C implementation is basically a compatibility fallback.

...or a teaching tool, because code is easier to read in Python.
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"All problems in computer science can be solved by another level of     
indirection."  --Butler Lampson

More information about the Python-list mailing list