summaryrefslogtreecommitdiffstats
path: root/Doc/library/hashlib.rst
Commit message (Collapse)AuthorAgeFilesLines
* gh-109054: Document configure variables (#109224)Victor Stinner2023-09-201-0/+2
|
* Fix extraneous backslashes in hashlib docs (#109468)Anthony Sottile2023-09-181-12/+12
|
* gh-101100: Sphinx warnings: pick the low hanging fruits (GH-107386)Serhiy Storchaka2023-07-291-3/+3
|
* gh-99108: Mention HACL\* in the hashlib docs. (#105634)Gregory P. Smith2023-06-101-5/+6
|
* Cleanup and clarify our hashlib docs. (#105624)Gregory P. Smith2023-06-101-47/+90
| | | Clarify and improve our hashlib docs. Now with 50% less mess!
* gh-103960: Dark mode: invert image brightness (#103983)Hugo van Kemenade2023-05-101-0/+1
|
* GH-103484: Fix redirected permanently URLs (#104001)Rafael Fontenelle2023-05-021-6/+6
| | | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
* gh-99087: Add missing newline for prompts in docs (GH-98993)Stanley2022-12-091-0/+1
| | | Add newline for prompts so copying to REPL does not cause errors.
* Docs: Fix backtick errors found by sphinx-lint (#97998)Hugo van Kemenade2022-10-071-1/+1
| | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* gh-94199: Remove hashlib.pbkdf2_hmac() Python implementation (GH-94200)Victor Stinner2022-06-281-12/+6
| | | | | | | Remove the pure Python implementation of hashlib.pbkdf2_hmac(), deprecated in Python 3.10. Python 3.10 and newer requires OpenSSL 1.1.1 or newer (PEP 644), this OpenSSL version provides a C implementation of pbkdf2_hmac() which is faster.
* gh-93851: Fix all broken links in Doc/ (GH-93853)Oleg Iarygin2022-06-211-1/+1
|
* minor hashlib doc example cleanup. (#92340)Gregory P. Smith2022-05-051-8/+6
| | | Closes #85465
* bpo-45150: Add hashlib.file_digest() for efficient file hashing (GH-31930)Christian Heimes2022-03-221-0/+43
|
* bpo-42982: update pbkdf2 example & add another link (GH-30966)Gregory P. Smith2022-01-271-5/+7
| | | Automerge-Triggered-By: GH:gpshead
* bpo-42982: Improve the text on suggested number of iterations of PBKDF2 ↵Illia Volochii2022-01-271-2/+7
| | | | | | | (GH-24276) Less specific number wording (as there is no one right number - the old 100k is too big for some applications and woefully small for others). We now link to NIST SP 800-132 to tell people what to read in there on how to decide for their application. Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google]
* bpo-40479: Fix hashlib's usedforsecurity for OpenSSL 3.0.0 (GH-30455)Christian Heimes2022-01-131-2/+2
|
* bpo-45441: Update some moved URLs in documentation (GH-28861)1809092021-10-121-1/+1
|
* [docs] Improve the markup of powers (GH-28598)Serhiy Storchaka2021-09-281-2/+2
|
* bpo-39498 Start linking the security warnings in the stdlib modules (GH-18272)Anthony Shaw2021-08-091-0/+2
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378)Mariusz Felisiak2021-07-261-1/+1
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-43880: Show DeprecationWarnings for deprecated ssl module features ↵Christian Heimes2021-04-191-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (GH-25455) * ssl.OP_NO_SSLv2 * ssl.OP_NO_SSLv3 * ssl.OP_NO_TLSv1 * ssl.OP_NO_TLSv1_1 * ssl.OP_NO_TLSv1_2 * ssl.OP_NO_TLSv1_3 * ssl.PROTOCOL_SSLv2 * ssl.PROTOCOL_SSLv3 * ssl.PROTOCOL_SSLv23 (alias for PROTOCOL_TLS) * ssl.PROTOCOL_TLS * ssl.PROTOCOL_TLSv1 * ssl.PROTOCOL_TLSv1_1 * ssl.PROTOCOL_TLSv1_2 * ssl.TLSVersion.SSLv3 * ssl.TLSVersion.TLSv1 * ssl.TLSVersion.TLSv1_1 * ssl.wrap_socket() * ssl.RAND_pseudo_bytes() * ssl.RAND_egd() (already removed since it's not supported by OpenSSL 1.1.1) * ssl.SSLContext() without a protocol argument * ssl.match_hostname() * hashlib.pbkdf2_hmac() (pure Python implementation, fast OpenSSL function will stay) Signed-off-by: Christian Heimes <christian@python.org>
* bpo-43669: Remove OpenSSL 0.9 to 1.1.0 specific documentation (GH-25453)Christian Heimes2021-04-171-2/+0
|
* bpo-38820: OpenSSL 3.0.0: Use supported hashing algos in doc test (GH-25319)Christian Heimes2021-04-091-2/+2
| | | | | | ripemd160 is not available in OpenSSL 3.0.0's default crypto provider. It's only present in legacy provider. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-42996: Update a reference to PKCS #5 in hashlib docs to version 2.1 ↵Illia Volochii2021-01-221-2/+2
| | | | | | | (GH-24289) RFC 8018 superseded RFC 8018. Automerge-Triggered-By: GH:tiran
* bpo-37630: Use SHA3 and SHAKE XOF from OpenSSL (GH-16049)Christian Heimes2020-05-161-0/+2
| | | | | | | OpenSSL 1.1.1 comes with SHA3 and SHAKE builtin. Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: @tiran
* bpo-38738: Fix formatting of True and False. (GH-17083)Serhiy Storchaka2019-11-121-2/+2
| | | | | | | | | * "Return true/false" is replaced with "Return ``True``/``False``" if the function actually returns a bool. * Fixed formatting of some True and False literals (now in monospace). * Replaced "True/False" with "true/false" if it can be not only bool. * Replaced some 1/0 with True/False if it corresponds the code. * "Returns <bool>" is replaced with "Return <bool>".
* bpo-9216: Add usedforsecurity to hashlib constructors (GH-16044)Christian Heimes2019-09-131-4/+13
| | | | | The usedforsecurity keyword only argument added to the hash constructors is useful for FIPS builds and similar restrictive environment with non-technical requirements that legacy algorithms be forbidden by their implementations without being explicitly annotated as not being used for any security related purposes. Linux distros with FIPS support benefit from this being standard rather than making up their own way(s) to do it. Contributed and Signed-off-by: Christian Heimes christian@python.org
* bpo-11233: Create availability directive for documentation (GH-9692)Cheryl Sabella2018-10-121-1/+1
| | | | | | Replace "Availability: xxx" with ".. availability:: xxx" in the doc. Original patch by Georg Brandl. Co-Authored-By: Georg Brandl <georg@python.org>
* Use bytes.hex instead of binascii.hexlify in pbkdf2_hmac example (GH-8420)Ville Skyttä2018-09-111-3/+3
|
* bpo-33729: Fix issues with arguments parsing in hashlib. (GH-8346)Serhiy Storchaka2018-07-311-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | * help(hashlib) didn't work because of incorrect module name in blake2b and blake2s classes. * Constructors blake2*(), sha3_*(), shake_*() and keccak_*() incorrectly accepted keyword argument "string" for binary data, but documented as accepting the "data" keyword argument. Now this parameter is positional-only. * Keyword-only parameters in blake2b() and blake2s() were not documented as keyword-only. * Default value for some parameters of blake2b() and blake2s() was None, which is not acceptable value. * The length argument for shake_*.digest() was wrapped out to 32 bits. * The argument for shake_128.digest() and shake_128.hexdigest() was not positional-only as intended. * TypeError messages for incorrect arguments in all constructors sha3_*(), shake_*() and keccak_*() incorrectly referred to sha3_224. Also made the following enhancements: * More accurately specified input and result types for strings, bytes and bytes-like objects. * Unified positional parameter names for update() and constructors. * Improved formatting.
* bpo-33892: Doc: Use gender neutral words (GH-7770)Andrés Delfino2018-06-181-1/+1
|
* bpo-33641: Convert RFC references into links. (GH-7103)Serhiy Storchaka2018-05-311-2/+1
| | | | 85% of them are already links.
* bpo-25910: Link redirections in docs (#1933)Sanyam Khurana2018-01-201-2/+2
| | | Fixes some redirection links in docs.
* bpo-25910: Fixes redirection from http to https (#4674)Sanyam Khurana2017-12-061-2/+2
|
* Replace KB unit with KiB (#4293)Victor Stinner2017-11-081-1/+1
| | | | | | | | | | | kB (*kilo* byte) unit means 1000 bytes, whereas KiB ("kibibyte") means 1024 bytes. KB was misused: replace kB or KB with KiB when appropriate. Same change for MB and GB which become MiB and GiB. Change the output of Tools/iobench/iobench.py. Round also the size of the documentation from 5.5 MB to 5 MiB.
* Docs: correct hashlib.blake2 keyed hashing example (bpo-31560)Dmitry Chestnykh2017-09-231-5/+9
|
* Improve code examples in hashlib cookie signing (GH-3562)sww2017-09-141-3/+4
| | | | | The `blake2b` function does not take the `data` keyword argument. The hex digest returned by sign was a string, whereas compare_digest expects bytes-like objects. Typo fix: compare_digesty -> compare_digest
* Issue #29062: Merge hashlib-blake2.rst into hashlib.rstINADA Naoki2017-01-131-2/+434
|
* Issue #16113: Add SHA-3 and SHAKE support to hashlib module.Christian Heimes2016-09-071-1/+29
|
* Issue #26798: Add BLAKE2 (blake2b and blake2s) to hashlib.Christian Heimes2016-09-061-1/+13
|
* Issue #27928: Add scrypt (password-based key derivation function) to hashlib ↵Christian Heimes2016-09-061-0/+17
| | | | module (requires OpenSSL 1.1.0).
* Issue #27200: Merge with 3.5Zachary Ware2016-08-101-0/+5
|\
| * Issue #27200: Fix doctests in Doc/library/hashlib.rstZachary Ware2016-08-101-0/+5
| |
* | Clarify that md5 is in the algorithms_guaranteed list despite whatGregory P. Smith2016-06-121-1/+3
| | | | | | | | | | some upstream vendors may do to their odd "FIPS compliant" builds. issue15468.
* | issue15468 - use sha256 instead of md5 or sha1 in the examples.Gregory P. Smith2016-06-121-8/+10
|/ | | | | | document that md5 may be missing in the rare case someone is using a "FIPS compliant" build. I've only ever heard of Redhat creating one of those - CPython itself offers no such build mode out of the box.
* Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-2/+2
| | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* Issue #27036: Fixed formatting references to "bytes-like object" in plural.Serhiy Storchaka2016-05-181-1/+1
|
* Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-071-1/+1
|
* Issue #26390: Fix and test pbkdf2_hmac() parameter namesMartin Panter2016-02-221-6/+7
| | | | Based on patch by Daan Bakker.
* make wikipedia link httpsBenjamin Peterson2015-09-271-1/+1
|