[Python-Dev] New hash algorithms: SHA3, SHAKE, BLAKE2, truncated SHA512 (original) (raw)
Christian Heimes christian at python.org
Sat May 28 17:30:37 EDT 2016
- Previous message (by thread): [Python-Dev] New hash algorithms: SHA3, SHAKE, BLAKE2, truncated SHA512
- Next message (by thread): [Python-Dev] New hash algorithms: SHA3, SHAKE, BLAKE2, truncated SHA512
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2016-05-28 14:06, Guido van Rossum wrote:
But you could choose which implementation to use at compile time based on the autoconf output, right?
We compile all modules and then let hashlib decide which implementation is used. hashlib prefers OpenSSL but falls back to our builtin modules. For MD5, SHA1 and SHA2 OpenSSL's implementation has better performance (up to twice the speed).
- Previous message (by thread): [Python-Dev] New hash algorithms: SHA3, SHAKE, BLAKE2, truncated SHA512
- Next message (by thread): [Python-Dev] New hash algorithms: SHA3, SHAKE, BLAKE2, truncated SHA512
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]