Re: Pure Python Salsa20 Stream Cipher Implementation

2008-02-11 Thread Gabriel Genellina
En Mon, 11 Feb 2008 17:29:49 -0200, Aahz <[EMAIL PROTECTED]> escribió: > In article <[EMAIL PROTECTED]>, > Gabriel Genellina <[EMAIL PROTECTED]> wrote: >> En Sat, 09 Feb 2008 20:29:58 -0200, Aahz <[EMAIL PROTECTED]> >> escribió: >>> In article <[EMAIL PROTECTED]>, >>> Gabriel Genellina <[EMAIL P

Re: Pure Python Salsa20 Stream Cipher Implementation

2008-02-11 Thread Aahz
In article <[EMAIL PROTECTED]>, Paul Rubin wrote: >[EMAIL PROTECTED] (Aahz) writes: >> >> 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

Re: Pure Python Salsa20 Stream Cipher Implementation

2008-02-11 Thread Paul Rubin
[EMAIL PROTECTED] (Aahz) writes: > 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 P

Re: Pure Python Salsa20 Stream Cipher Implementation

2008-02-11 Thread Aahz
In article <[EMAIL PROTECTED]>, Gabriel Genellina <[EMAIL PROTECTED]> wrote: >En Sat, 09 Feb 2008 20:29:58 -0200, Aahz <[EMAIL PROTECTED]> escribió: >> In article <[EMAIL PROTECTED]>, >> Gabriel Genellina <[EMAIL PROTECTED]> wrote: >>> En Sat, 09 Feb 2008 01:34:30 -0200, <[EMAIL PROTECTED]> >>> e

Re: Pure Python Salsa20 Stream Cipher Implementation

2008-02-10 Thread ThunderBug
And FWIW there already exists a pySalsa20, a ctypes wrapper for Bernstein's eSTREAM submission. http://www.seanet.com/~bugbee/crypto/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Pure Python Salsa20 Stream Cipher Implementation

2008-02-09 Thread Gabriel Genellina
En Sat, 09 Feb 2008 20:29:58 -0200, Aahz <[EMAIL PROTECTED]> escribió: > In article <[EMAIL PROTECTED]>, > Gabriel Genellina <[EMAIL PROTECTED]> wrote: >> En Sat, 09 Feb 2008 01:34:30 -0200, <[EMAIL PROTECTED]> >> escribió: >>> On 8 Feb., 17:18, Paul Rubin wrote:

Re: Pure Python Salsa20 Stream Cipher Implementation

2008-02-09 Thread Aahz
In article <[EMAIL PROTECTED]>, Gabriel Genellina <[EMAIL PROTECTED]> wrote: >En Sat, 09 Feb 2008 01:34:30 -0200, <[EMAIL PROTECTED]> escribió: >> On 8 Feb., 17:18, Paul Rubin wrote: >>> >>> I don't understand why a pure python version of salsa20 would be >>> interesting.

Re: Pure Python Salsa20 Stream Cipher Implementation

2008-02-09 Thread bearophileHUGS
Gabriel Genellina: > On most platforms -with a notable exception- there is a C compiler > available as a standard tool, which is used to compile Python itself. For that platform the Python site may offer a version of binary Python bundled with the MingGW (and Cython too, maybe), like ShedSkin does

Re: Pure Python Salsa20 Stream Cipher Implementation

2008-02-09 Thread Paul Rubin
"Gabriel Genellina" <[EMAIL PROTECTED]> writes: > On most platforms -with a notable exception- there is a C compiler > available as a standard tool, which is used to compile Python itself. The notable exception that you're thinking of is pervasive, but since Python is usually distributed as a bina

Re: Pure Python Salsa20 Stream Cipher Implementation

2008-02-09 Thread Paul Rubin
[EMAIL PROTECTED] 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 t

Re: Pure Python Salsa20 Stream Cipher Implementation

2008-02-08 Thread Gabriel Genellina
En Sat, 09 Feb 2008 01:34:30 -0200, <[EMAIL PROTECTED]> escribió: > On 8 Feb., 17:18, Paul Rubin wrote: >> I don't understand why a pure python version of salsa20 would be >> interesting. Is there some application that uses salsa20, that's >> worth being able to interop

Re: Pure Python Salsa20 Stream Cipher Implementation

2008-02-08 Thread betabrain . honshu
On 8 Feb., 17:18, Paul Rubin wrote: > I don't understand why a pure python version of salsa20 would be > interesting. Is there some application that uses salsa20, that's > worth being able to interoperate with in pure python? The reason for a pure python is that it woul

Re: Pure Python Salsa20 Stream Cipher Implementation

2008-02-08 Thread Paul Rubin
[EMAIL PROTECTED] writes: > for those of you who are familiar with the micropledge.com project, > here is a good opportunity to spend or earn something: > http://micropledge.com/projects/pysalsa20 By the way, here is a concise implementation of salsa20 in C: http://www.nightsong.com/phr/crypto/

Re: Pure Python Salsa20 Stream Cipher Implementation

2008-02-08 Thread Paul Rubin
[EMAIL PROTECTED] writes: > for those of you who are familiar with the micropledge.com project, > here is a good opportunity to spend or earn something: > http://micropledge.com/projects/pysalsa20 I don't understand why a pure python version of salsa20 would be interesting. Is there some applicat

Pure Python Salsa20 Stream Cipher Implementation

2008-02-07 Thread betabrain . honshu
Hi Folks, for those of you who are familiar with the micropledge.com project, here is a good opportunity to spend or earn something: http://micropledge.com/projects/pysalsa20 I know that the details of this project are still a bit unclear, but that is something we could discuss. By the way, the e