summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2020-05-16 20:27:06 (GMT)
committerGitHub <noreply@github.com>2020-05-16 20:27:06 (GMT)
commitd5b3f6b7f9fc74438009af63f1de01bd77be9385 (patch)
tree32fed153b988a3dbb9c691ba924d989de5d17578 /Doc
parentb17e49e0def23238b9e7f48c8a02e2d7bbf1f653 (diff)
downloadcpython-d5b3f6b7f9fc74438009af63f1de01bd77be9385.zip
cpython-d5b3f6b7f9fc74438009af63f1de01bd77be9385.tar.gz
cpython-d5b3f6b7f9fc74438009af63f1de01bd77be9385.tar.bz2
bpo-37630: Use SHA3 and SHAKE XOF from OpenSSL (GH-16049)
OpenSSL 1.1.1 comes with SHA3 and SHAKE builtin. Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: @tiran
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/hashlib.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst
index b737d22..d644974 100644
--- a/Doc/library/hashlib.rst
+++ b/Doc/library/hashlib.rst
@@ -87,6 +87,8 @@ library that Python uses on your platform. On most platforms the
that the hashing algorithm is not used in a security context, e.g. as a
non-cryptographic one-way compression function.
+ Hashlib now uses SHA3 and SHAKE from OpenSSL 1.1.1 and newer.
+
For example, to obtain the digest of the byte string ``b'Nobody inspects the
spammish repetition'``::