Encryption with Python
Wed Jun 23 18:32:32 CEST 2004
Peter Hansen <peter at engcorp.com> writes:
> Both are good ideas, but I made an assumption that I was starting
> with a simple 22MB string, and the cost of converting that to 32-bit
> (presumably using array.array still?) would have to be taken into
> account, for fairness. I also assume Kamilche wasn't talking
> about using the builtin rot13, since he claimed to have written
> this himself...
There's no special conversion needed, just use array.array('L', whatever)
instead of array.array('B', whatever), if I remember right.
More information about the Python-list