[New-bugs-announce] [issue7418] hashlib : the names of the different hash algorithms
Carl Chenet
report at bugs.python.org
Tue Dec 1 15:04:28 CET 2009
New submission from Carl Chenet <chaica at ohmytux.com>:
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
----------
components: Library (Lib)
files: algorithms_constant_attribute_in_hashlib_module.diff
keywords: patch
messages: 95857
nosy: chaica_
severity: normal
status: open
title: hashlib : the names of the different hash algorithms
type: feature request
versions: Python 3.2
Added file: http://bugs.python.org/file15427/algorithms_constant_attribute_in_hashlib_module.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7418>
_______________________________________
More information about the New-bugs-announce
mailing list