[issue39539] Improve Keccak support in hashlib including KangarooTwelve

Gregory P. Smith report at bugs.python.org
Mon Feb 3 20:00:29 EST 2020


Gregory P. Smith <greg at krypto.org> added the comment:

Christian added the SHA3 support so is probably best to comment on this. The way our hashlib code is structured we always use the https://github.com/python/cpython/tree/master/Modules/_sha3 implementation rather than OpenSSL for these algorithms due to the better functionality of that Keccak code.  So at first glance it should be reasonably straightforward to update it to accept an optional suffix constructor argument.

PR welcome.

----------
stage:  -> needs patch

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39539>
_______________________________________


More information about the Python-bugs-list mailing list