Help wanted with md2 hash algorithm

Paul Rubin http
Sat Jan 7 22:04:30 EST 2006


wjb131 at web.de writes:
> below you find my simple python version of MD2 algorithm
> as described in RFC1319  (http://rfc1319.x42.com/MD2).
> It produces correct results for strings shorter than 16 Bytes and wrong
> results for longer strings.

Why do you want to use MD2?  It's very slow and it's also been
deprecated for security reasons.  Use SHA1 (built into Python library)
or SHA256/384/512 (implementations are circulating) instead.



More information about the Python-list mailing list