Pure python crypto
Paul Rubin
phr-n2002a at nightsong.com
Thu Apr 18 06:02:20 EDT 2002
Michael Gilfix <mgilfix at eecs.tufts.edu> writes:
> Well, I'll have to post it when I return home to Canada. Not a good
> idea to distribute it in the US :) I can send you a copy if you're in
> the US if you email me directly.
Might as well. My address is above. What's the encryption speed?
> > FWIW, I coded RC4 in Python a while back and if I remember correctly,
> > got about 100k/sec throughput on a P3-750. That's sort of marginal
> > for (say) sftp over ADSL. Using the SHA-OFB hack that I described,
> > I got about 400-500k/sec.
>
> Do you still have a copy of this? I would be nice to assemble a suite
> that can be used to create a pure python implementation of SSH (which
> could also use wrappers to C implementations that exist as well). I
> wish I had a better idea of what was out there module-wise though.
I'll take a look, I probably still have it. I only spent a few
minutes coding it anyway, so can do it again if needed. If coding RC4
is an obstacle to you though, I don't think you're going to finish
implementing SSH ;-). Anyway, after coding RC4, I saw how much slower
it was than SHA-OFB, so I stopped caring about it and may have trashed
the implementation.
With luck, future versions of Python should include a DES/3DES module,
so an SSH package can use that.
More information about the Python-list
mailing list