Author chaica_
Recipients chaica_
Date 2009-12-01.14:04:23
SpamBayes Score 7.05096e-05
Marked as misclassified No
Message-id <1259676268.37.0.504298003404.issue7418@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2009-12-01 14:04:28chaica_setrecipients: + chaica_
2009-12-01 14:04:28chaica_setmessageid: <1259676268.37.0.504298003404.issue7418@psf.upfronthosting.co.za>
2009-12-01 14:04:27chaica_linkissue7418 messages
2009-12-01 14:04:25chaica_create