summaryrefslogtreecommitdiffstats
path: root/Doc/library/hashlib.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-38820: OpenSSL 3.0.0: Use supported hashing algos in doc test (GH-25319)Miss Islington (bot)2021-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> (cherry picked from commit 2d7fdc90731e132f9d6b43852ee112f25831394b) Co-authored-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
|
* shorten and fix casing of titleBenjamin Peterson2015-09-271-2/+2
|
* grammar and sentence flow fixBenjamin Peterson2014-05-261-2/+1
|
* format reST directive in the usual wayBenjamin Peterson2014-05-261-3/+5
|
* link to wikipedia description of cryptographic saltBenjamin Peterson2014-05-261-1/+1
|
* oxford commaBenjamin Peterson2014-05-261-3/+3
|
* Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-161-6/+6
|
* * Issue #16113: Remove sha3 module again.Martin v. Löwis2014-01-031-5/+1
| | | | Patch by Christian Heimes, with modifications.
* Include sha3 addition in hashlib section of whatsnew.R David Murray2013-12-201-1/+3
| | | | | And link to it from the summary, and link to the Hash Algorithms section of hashlib from the linked description.
* Issue #18582: provide a faster C implementation of pbkdf2_hmac that works ↵Christian Heimes2013-10-191-5/+3
| | | | with OpenSSL < 1.0
* Issue #19254: Provide an optimized Python implementation of PBKDF2_HMACChristian Heimes2013-10-191-1/+5
|
* Issue #18582: Add 'pbkdf2_hmac' to the hashlib module.Christian Heimes2013-10-121-0/+43
|
* merge with 3.3Georg Brandl2013-10-061-2/+4
|\
| * The "FAQ" link at the end was changed to a Wikipedia link; reflect that.Georg Brandl2013-10-061-2/+4
| |
* | MERGE: Close #19160: Inconsistent size for GIL release in hashlibJesus Cea2013-10-041-2/+2
|\ \ | |/
| * Close #19160: Inconsistent size for GIL release in hashlibJesus Cea2013-10-041-2/+2
| |
* | MERGE: Close #19160: Inconsistent size for GIL release in hashlibJesus Cea2013-10-041-1/+1
|\ \ | |/
| * Close #19160: Inconsistent size for GIL release in hashlibJesus Cea2013-10-041-1/+1
| |
* | Issue 18532: Added tests and documentation to formally specify the .name ↵Jason R. Coombs2013-08-031-0/+12
| | | | | | | | attribute on hashlib objects.
* | #16518: merge with 3.3.Ezio Melotti2013-05-041-3/+3
|\ \ | |/
| * #16518: use "bytes-like object" throughout the docs.Ezio Melotti2013-05-041-3/+3
| |
* | merge 3.3 (closes #16687)Benjamin Peterson2012-12-211-2/+2
|\ \ | |/
| * link to GIL as a termBenjamin Peterson2012-12-211-1/+1
| | | | | | | | Patch from Jeff Knupp.
| * fix typo (#16687)Benjamin Peterson2012-12-211-1/+1
| | | | | | | | Patch from Jeff Knupp.
* | Issue #16113: integrade SHA-3 (Keccak) patch from ↵Christian Heimes2012-10-061-3/+7
|/ | | | http://hg.python.org/sandbox/cheimes
* More source linksRaymond Hettinger2011-01-271-0/+4
|
* Fix Issue10793 - hashlib documentation issue on return type of digestSenthil Kumaran2010-12-301-1/+1
|