[PYTHON-CRYPTO] Reviving PEP 247: Hashing API
Bram Cohen
bram at GAWTH.COM
Mon Sep 17 20:27:14 CEST 2001
On Mon, 17 Sep 2001, Andrew Kuchling wrote:
> As an effort at reviving it, I've updated the PEP, and the current
> version is at http://python.sourceforge.net/peps/pep-0247.html.
I rather like how sha.sha maps to the same thing as sha.new, so you can
say from sha import sha, that could be extended to the other hash
functions as well.
It would also be nice to have a convenience function for new(x).digest()
-Bram Cohen
"Markets can remain irrational longer than you can remain solvent"
-- John Maynard Keynes
More information about the python-crypto
mailing list