Antoine Pitrou added the comment:

> * "Cryptographic Hash Function" is the correct technical term for
> algorithms like SHA-1.

Sure, but in a programming context, it's confusing when the "function"
is implemented by a class with additional properties and methods.
Why not simply "CryptoHash"? It sounds descriptive enough to me.

> * I don't want to import yet another module just for the ABC. I'd
> rather not provide a sample implementation of hexdigest() if you think
> it is too slow.

Well, it's probably not excruciatingly slow, so if you don't want
another import, I guess the current implementation is ok :)

----------

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

Reply via email to