[Python-Dev] SHA-256 module

Michael Hudson mwh at python.net
Wed Jun 30 05:15:24 EDT 2004


Trevor Perrin <trevp at trevp.net> writes:

> I think SHA-256 does, since SHA-1 is skimpy for a lot of uses.

Nevertheless, am I right to still believe that there are no known
distinct strings which even MD5 to the same hash?

> My thought is that since almost all crypto protocols depend on a tiny
> number of primitives (a few ciphers, a few hashes, modular
> exponentiation, random numbers), it would be good to have these in
> stdlib.  Otherwise crypto-using apps require extensions (like pycrypto
> + GMP) which makes them hard to distribute.

Unfortunately, distributing crypto software is still a hideous
international mess (just because the *US* is less silly these
days...).

Cheers,
mwh

-- 
  GAG: I think this is perfectly normal behaviour for a Vogon. ...
VOGON: That is exactly what you always say.
  GAG: Well, I think that is probably perfectly normal behaviour for a
      psychiatrist. -- The Hitch-Hikers Guide to the Galaxy, Episode 9



More information about the Python-Dev mailing list