hashlib : the names of the different hash algorithms #51667
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee = 'https://github.com/gpshead' closed_at = <Date 2010-09-06.08:34:47.559> created_at = <Date 2009-12-01.14:04:27.195> labels = ['type-feature', 'library'] title = 'hashlib : the names of the different hash algorithms' updated_at = <Date 2010-09-06.18:43:24.035> user = 'https://bugs.python.org/chaica'
activity = <Date 2010-09-06.18:43:24.035> actor = 'eric.araujo' assignee = 'gregory.p.smith' closed = True closed_date = <Date 2010-09-06.08:34:47.559> closer = 'gregory.p.smith' components = ['Library (Lib)'] creation = <Date 2009-12-01.14:04:27.195> creator = 'chaica_' dependencies =  files = ['15427', '15438'] hgrepos =  issue_num = 7418 keywords = ['patch'] message_count = 13.0 messages = ['95857', '95860', '95899', '95900', '96854', '99147', '99155', '100236', '115684', '115688', '115689', '115693', '115727'] nosy_count = 6.0 nosy_names = ['rhettinger', 'gregory.p.smith', 'gps', 'eric.araujo', 'flox', 'chaica_'] pr_nums =  priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = 'enhancement' url = 'https://bugs.python.org/issue7418' versions = ['Python 3.2']
The text was updated successfully, but these errors were encountered:
The hashlib module could provide a tuple offering the names of the
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
Maybe you have some ideas on this patch? I think it could be a nice
And it would be better if this tuple could be provided by the hashlib