summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2008-03-19 01:38:35 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2008-03-19 01:38:35 (GMT)
commitbde40078b07cd26f850f2a04848e9e1d95442a1f (patch)
tree52f9ab4cef53da8cf0b73d5013bf022ba904dbc2 /Doc/library
parent0279f4395057d4228c82c34b2c282d81aaabbde5 (diff)
downloadcpython-bde40078b07cd26f850f2a04848e9e1d95442a1f.zip
cpython-bde40078b07cd26f850f2a04848e9e1d95442a1f.tar.gz
cpython-bde40078b07cd26f850f2a04848e9e1d95442a1f.tar.bz2
Mention that crc32 and adler32 are available in a different module (zlib).
Some people look for them in hashlib.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/hashlib.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst
index 8bba718..bfb007f 100644
--- a/Doc/library/hashlib.rst
+++ b/Doc/library/hashlib.rst
@@ -21,6 +21,10 @@ algorithm (defined in Internet :rfc:`1321`). The terms secure hash and message
digest are interchangeable. Older algorithms were called message digests. The
modern term is secure hash.
+.. note::
+ If you want the adler32 or crc32 hash functions they are available in
+ the :mod:`zlib` module.
+
.. warning::
Some algorithms have known hash collision weaknesses, see the FAQ at the end.