Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-37630: Use SHA3 and SHAKE XOF from OpenSSL (GH-16049) | Christian Heimes | 2020-05-16 | 1 | -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 Storchaka | 2019-11-12 | 1 | -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 Heimes | 2019-09-13 | 1 | -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 Sabella | 2018-10-12 | 1 | -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-11 | 1 | -3/+3 |
| | |||||
* | bpo-33729: Fix issues with arguments parsing in hashlib. (GH-8346) | Serhiy Storchaka | 2018-07-31 | 1 | -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 Delfino | 2018-06-18 | 1 | -1/+1 |
| | |||||
* | bpo-33641: Convert RFC references into links. (GH-7103) | Serhiy Storchaka | 2018-05-31 | 1 | -2/+1 |
| | | | | 85% of them are already links. | ||||
* | bpo-25910: Link redirections in docs (#1933) | Sanyam Khurana | 2018-01-20 | 1 | -2/+2 |
| | | | Fixes some redirection links in docs. | ||||
* | bpo-25910: Fixes redirection from http to https (#4674) | Sanyam Khurana | 2017-12-06 | 1 | -2/+2 |
| | |||||
* | Replace KB unit with KiB (#4293) | Victor Stinner | 2017-11-08 | 1 | -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 Chestnykh | 2017-09-23 | 1 | -5/+9 |
| | |||||
* | Improve code examples in hashlib cookie signing (GH-3562) | sww | 2017-09-14 | 1 | -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.rst | INADA Naoki | 2017-01-13 | 1 | -2/+434 |
| | |||||
* | Issue #16113: Add SHA-3 and SHAKE support to hashlib module. | Christian Heimes | 2016-09-07 | 1 | -1/+29 |
| | |||||
* | Issue #26798: Add BLAKE2 (blake2b and blake2s) to hashlib. | Christian Heimes | 2016-09-06 | 1 | -1/+13 |
| | |||||
* | Issue #27928: Add scrypt (password-based key derivation function) to hashlib ↵ | Christian Heimes | 2016-09-06 | 1 | -0/+17 |
| | | | | module (requires OpenSSL 1.1.0). | ||||
* | Issue #27200: Merge with 3.5 | Zachary Ware | 2016-08-10 | 1 | -0/+5 |
|\ | |||||
| * | Issue #27200: Fix doctests in Doc/library/hashlib.rst | Zachary Ware | 2016-08-10 | 1 | -0/+5 |
| | | |||||
* | | Clarify that md5 is in the algorithms_guaranteed list despite what | Gregory P. Smith | 2016-06-12 | 1 | -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. Smith | 2016-06-12 | 1 | -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 Reedy | 2016-06-11 | 1 | -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 Storchaka | 2016-05-18 | 1 | -1/+1 |
| | |||||
* | Issue #26736: Used HTTPS for external links in the documentation if possible. | Serhiy Storchaka | 2016-05-07 | 1 | -1/+1 |
| | |||||
* | Issue #26390: Fix and test pbkdf2_hmac() parameter names | Martin Panter | 2016-02-22 | 1 | -6/+7 |
| | | | | Based on patch by Daan Bakker. | ||||
* | make wikipedia link https | Benjamin Peterson | 2015-09-27 | 1 | -1/+1 |
| | |||||
* | shorten and fix casing of title | Benjamin Peterson | 2015-09-27 | 1 | -2/+2 |
| | |||||
* | grammar and sentence flow fix | Benjamin Peterson | 2014-05-26 | 1 | -2/+1 |
| | |||||
* | format reST directive in the usual way | Benjamin Peterson | 2014-05-26 | 1 | -3/+5 |
| | |||||
* | link to wikipedia description of cryptographic salt | Benjamin Peterson | 2014-05-26 | 1 | -1/+1 |
| | |||||
* | oxford comma | Benjamin Peterson | 2014-05-26 | 1 | -3/+3 |
| | |||||
* | Merge in all documentation changes since branching 3.4.0rc1. | Larry Hastings | 2014-03-16 | 1 | -6/+6 |
| | |||||
* | * Issue #16113: Remove sha3 module again. | Martin v. Löwis | 2014-01-03 | 1 | -5/+1 |
| | | | | Patch by Christian Heimes, with modifications. | ||||
* | Include sha3 addition in hashlib section of whatsnew. | R David Murray | 2013-12-20 | 1 | -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 Heimes | 2013-10-19 | 1 | -5/+3 |
| | | | | with OpenSSL < 1.0 | ||||
* | Issue #19254: Provide an optimized Python implementation of PBKDF2_HMAC | Christian Heimes | 2013-10-19 | 1 | -1/+5 |
| | |||||
* | Issue #18582: Add 'pbkdf2_hmac' to the hashlib module. | Christian Heimes | 2013-10-12 | 1 | -0/+43 |
| | |||||
* | merge with 3.3 | Georg Brandl | 2013-10-06 | 1 | -2/+4 |
|\ | |||||
| * | The "FAQ" link at the end was changed to a Wikipedia link; reflect that. | Georg Brandl | 2013-10-06 | 1 | -2/+4 |
| | | |||||
* | | MERGE: Close #19160: Inconsistent size for GIL release in hashlib | Jesus Cea | 2013-10-04 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Close #19160: Inconsistent size for GIL release in hashlib | Jesus Cea | 2013-10-04 | 1 | -2/+2 |
| | | |||||
* | | MERGE: Close #19160: Inconsistent size for GIL release in hashlib | Jesus Cea | 2013-10-04 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Close #19160: Inconsistent size for GIL release in hashlib | Jesus Cea | 2013-10-04 | 1 | -1/+1 |
| | | |||||
* | | Issue 18532: Added tests and documentation to formally specify the .name ↵ | Jason R. Coombs | 2013-08-03 | 1 | -0/+12 |
| | | | | | | | | attribute on hashlib objects. | ||||
* | | #16518: merge with 3.3. | Ezio Melotti | 2013-05-04 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | #16518: use "bytes-like object" throughout the docs. | Ezio Melotti | 2013-05-04 | 1 | -3/+3 |
| | | |||||
* | | merge 3.3 (closes #16687) | Benjamin Peterson | 2012-12-21 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | link to GIL as a term | Benjamin Peterson | 2012-12-21 | 1 | -1/+1 |
| | | | | | | | | Patch from Jeff Knupp. | ||||
| * | fix typo (#16687) | Benjamin Peterson | 2012-12-21 | 1 | -1/+1 |
| | | | | | | | | Patch from Jeff Knupp. | ||||
* | | Issue #16113: integrade SHA-3 (Keccak) patch from ↵ | Christian Heimes | 2012-10-06 | 1 | -3/+7 |
|/ | | | | http://hg.python.org/sandbox/cheimes |