mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
Mention that crc32 and adler32 are available in a different module (zlib).
Some people look for them in hashlib.
This commit is contained in:
parent
0279f43950
commit
bde40078b0
2 changed files with 7 additions and 0 deletions
|
@ -18,6 +18,9 @@ md5(), sha1(), sha224(), sha256(), sha384(), and sha512()
|
|||
More algorithms may be available on your platform but the above are
|
||||
guaranteed to exist.
|
||||
|
||||
NOTE: If you want the adler32 or crc32 hash functions they are available in
|
||||
the zlib module.
|
||||
|
||||
Choose your hash function wisely. Some have known collision weaknesses.
|
||||
sha384 and sha512 will be slow on 32 bit platforms.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue