[Python-3000] Solaris support in 3.0? (original) (raw)

Gregory P. Smith greg at krypto.org
Wed Sep 5 21:12:37 CEST 2007


Also, the NIST SHA-1/256/384/512 code is freely available, there's also no reason to rely on OpenSSL for it (although it looks like the PKI reference implementation links that I can find are dead, so we might have to hunt a little bit). In either case, we could probably copy the relevant pieces out of OpenSSL.

No. OpenSSL hashlib support was added for a good reason. Its implementations are much faster as it includes platform optimized versions of all hash algorithms that are continually being updated tweaked and tuned. OpenSSL itself also doesn't lend itself to cut and paste very well. libtomcrypt is the ideal completely unencumbered basic C implementation of all hash and crypto algorithms and is easy to cut from. We already use it for sha256/512 when needed, i'll do it for the non-openssl md5 and sha1 modules in the next week or so.

Someone could also implement all these hash algorithms in python. Bad idea. Not what python is good at. :)

-gps -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-3000/attachments/20070905/e275ecbb/attachment.htm



More information about the Python-3000 mailing list