Closed danieledapo closed 6 years ago
@dpgeorge @nickzoic are you interested in merging these changes? Is there anything wrong with the code?
I think we should, yes, but like #199 I think we should make it apply across all ports.
hexdigest
is not really needed. One can do the same thing using binascii.hexlify(sha.digest())
. That's compatible with normal CPython and doesn't require adding a lot of extra C code.
digest_size
andblock_size
constants;hexdigest