Message95857
Hi,
The hashlib module could provide a tuple offering the names of the
different hash algorithms which are guaranteed to be supported.
The expected result:
>>> import hashlib
>>> hashlib.algorithms
('md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512')
Here is a patch to do so. It also provides an update for the hashlib
documentation and a test case.
Bye,
Carl Chenet |
|
Date |
User |
Action |
Args |
2009-12-01 14:04:28 | chaica_ | set | recipients:
+ chaica_ |
2009-12-01 14:04:28 | chaica_ | set | messageid: <1259676268.37.0.504298003404.issue7418@psf.upfronthosting.co.za> |
2009-12-01 14:04:27 | chaica_ | link | issue7418 messages |
2009-12-01 14:04:25 | chaica_ | create | |
|