crypt() results

Michal Wallace (sabren) sabren at manifestation.com
Mon Apr 24 05:02:50 CEST 2000


Well. I tried porting both Crypt::UnixCrypt and Crypt::PasswdMD5 to
python.  And neither one of the python versions give the same results
as the perl versions. They come out in the same format, but with
different values.

I've pounded my head, pulled out my hair, and finally given up. I
simply don't know enough about the algorithms or perl's bit twiddling
to understand what these modules are actually doing.

If anyone else wants to take a stab at it, my code's at:

http://www.sabren.com/code/python/crypt/

(That page also has links to the perl versions on CPAN)

Cheers,

- Michal
-------------------------------------------------------------------------
http://www.manifestation.com/         http://www.linkwatcher.com/metalog/
-------------------------------------------------------------------------





More information about the Python-list mailing list