Christian Heimes added the comment:

Not all hash functions have a fixed digest size, e.g. blake2 is a variable 
length hash algorithm. 
https://pythonhosted.org/pyblake2/examples.html#using-different-digest-sizes 
How about a new class attribute default_digest_size?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26700>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to