Encryption with Python
Pierre-Frédéric Caillaud
peufeu at free.fr
Thu Jun 24 16:30:59 EDT 2004
Blowfish encryption is very secure (128 bits) and very fast (10
megabytes/s on a Celeron 400).
I used that, you could try it.
On Thu, 24 Jun 2004 14:53:14 -0400, Peter Hansen <peter at engcorp.com> wrote:
> Till Plewe wrote:
>> On Wed, Jun 23, 2004 at 12:50:39AM -0400, Peter Hansen wrote:
>>> Besides, what you say is not possible. On my machine,
>>> which is about a P4 2500MHz, scanning an array.array('c') with
>>> 22MB of data in it, doing nothing but reading each byte and
>>> ignoring it, takes about 8 seconds. So does converting the
>>> array to a list, which is pretty much all C code.
>> are you sure it takes 8s?
>
> What I meant (but didn't state explicitly) was that even if you
> convert the string to a list of 23068672 individual characters,
> scanning the list takes about as long as scanning the array
> did.
>
> And not only did I not say all that, but what I did say I
> even said wrong, since I notice I said "array to list"
> instead of "string to list".
>
> Basically, I've been totally wrong in everything I said
> in this thread. ;-)
>
> -except-this-post-ly y'rs,
> Peter
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
More information about the Python-list
mailing list