]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129327: revise hashlib documentation to account for FIPS removing sha1 (GH-132729)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Sun, 20 Apr 2025 01:06:24 +0000 (02:06 +0100)
committerGitHub <noreply@github.com>
Sun, 20 Apr 2025 01:06:24 +0000 (01:06 +0000)
commita16586c9e7a9accfe26489191b5b1ee39657ee5b
tree10fda3483abbb87149f24f3b950731df7be3b575
parent71da68d5887b6c05890757d676b452ede3120617
gh-129327: revise hashlib documentation to account for FIPS removing sha1 (GH-132729)

* gh-129327: revise hashlib documentation to account for FIPS removing sha1

More generally, the current documentation is a bit scattered, talking
about what terms are "equal" despite those terms not being very
interesting and given the term "secure hash", probably wrong (because
md5 and sha1 are not secure anymore).

Let's talk about cryptographically secure instead, and note that two of
them aren't. And then we can also link to the source for NIST going
through the removal process for SHA1.

* Add Gregors Suggestion

* Clean up

---------

Co-authored-by: Eli Schwartz <eschwartz@gentoo.org>
Doc/library/hashlib.rst