summaryrefslogtreecommitdiffstats
path: root/Doc/library/hmac.rst
Commit message (Collapse)AuthorAgeFilesLines
* [3.11] gh-112999: Replace the outdated "deprecated" directives with ↵Serhiy Storchaka2023-12-121-10/+7
| | | | | "versionchanged" (GH-113000) (GH-113020) (cherry picked from commit fe9991bb672dd95fb9cd38b5a03180719ac4e722)
* Docs: remove redundant "adverb-adjective" hyphens from compound modifiers ↵Miss Islington (bot)2022-07-051-2/+2
| | | | | | | | (GH-94551) (GH-94557) Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021 (cherry picked from commit 3440d197a55800ecceea3e115e44b4262411359c) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* bpo-40791: Use CRYPTO_memcmp() for compare_digest (#20456)Christian Heimes2020-05-271-0/+5
| | | | | | | | hashlib.compare_digest uses OpenSSL's CRYPTO_memcmp() function when OpenSSL is available. Note: The _operator module is a builtin module. I don't want to add libcrypto dependency to libpython. Therefore I duplicated the wrapper function and added a copy to _hashopenssl.c.
* bpo-40645: Deprecated internal details of hmac.HMAC (GH-20132)Christian Heimes2020-05-161-0/+6
|
* bpo-33604: Raise TypeError on missing hmac arg. (GH-16805)Gregory P. Smith2019-10-181-3/+5
| | | | | | | | | | Also updates the documentation to clarify the situation surrounding the digestmod parameter that is required despite its position in the argument list as of 3.8.0 as well as removing old python2 era references to "binary strings". We indavertently had this raise ValueError in 3.8.0 for the missing arg. This is not considered an API change as no reasonable code would be catching this missing argument error in order to handle it.
* bpo-33604: Remove deprecated HMAC default value marked for removal in 3.8 ↵Matthias Bussonnier2018-09-101-2/+1
| | | | | (GH-7063) HMAC's digestmod was deprecated marked for removal, this removes it as planned.
* bpo-33604: Remove Pending from hmac Deprecation warning. (GH-7062)Matthias Bussonnier2018-05-221-1/+1
| | | bpo-33604: Bump removal notice from 3.6 to 3.8 and change PendingDeprecationWarning to DeprecationWarning as we had intended to do earlier...
* bpo-32433: Optimized HMAC digest (#5023)Christian Heimes2018-01-271-0/+15
| | | | | | | The hmac module now has hmac.digest(), which provides an optimized HMAC digest for short messages. hmac.digest() is up to three times faster than hmac.HMAC().digest(). Signed-off-by: Christian Heimes <christian@python.org>
* Change double hyphens (en dashes) to em (longer) dashesMartin Panter2016-11-211-1/+1
|
* Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-0/+1
| | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* that this is "for Python" is obviousBenjamin Peterson2015-06-061-1/+0
|
* Issues #21948 and #16040: Fix typos.Berker Peksag2014-07-091-1/+1
|
* Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-161-3/+2
|
* Issue #18775: Add name and block_size attribute to HMAC object. They nowChristian Heimes2013-11-201-0/+19
| | | | provide the same API elements as non-keyed cryptographic hash functions.
* Issue #17276: MD5 as default digestmod for HMAC is deprecated. The HMACChristian Heimes2013-11-201-2/+9
| | | | module supports digestmod names, e.g. hmac.HMAC('sha1').
* merge with 3.3Georg Brandl2013-10-061-1/+1
|\
| * Fix markup to not add parens to the "hashlib.md5" constructor when the ↵Georg Brandl2013-10-061-1/+1
| | | | | | | | object is meant, not the call.
* | Issue 18240: The HMAC module is no longer restricted to bytes and acceptsChristian Heimes2013-07-011-6/+12
|/ | | | any bytes-like object, e.g. memoryview. Original patch by Jonas Borgström.
* #16518: use "bytes-like object" throughout the docs.Ezio Melotti2013-05-041-2/+1
|
* Minor grammar refinement for hmac.compare_digest().Larry Hastings2012-06-251-2/+2
|
* Remove a detailed discussion of content-based short circuiting, off topic ↵Antoine Pitrou2012-06-241-13/+4
| | | | for library docs.
* Simplify wording.Antoine Pitrou2012-06-241-8/+4
|
* FormattingAntoine Pitrou2012-06-241-4/+4
|
* Merge heads.Georg Brandl2012-06-241-1/+1
|\
| * The buffer protocol doesn't exist (in the glossary anyway).Antoine Pitrou2012-06-241-1/+1
| |
* | Merge heads.Georg Brandl2012-06-241-10/+9
|\ \ | |/
| * Larry's suggested rewording of the compare_digest() docs.Antoine Pitrou2012-06-241-29/+12
| |
* | Improve hmac.compare_digest() docstring and documentation, courtesy of Larry H.Georg Brandl2012-06-241-22/+23
|/
* Issue #15061: Re-implemented hmac.compare_digest() in CChristian Heimes2012-06-241-5/+11
|
* Issue #15061: Don't oversell the capabilities of the new non-shortcircuiting ↵Nick Coghlan2012-06-151-16/+25
| | | | comparison function in hmac
* Add versionadded for hmac.secure_compare().Charles-François Natali2012-05-151-0/+1
|
* Issue #14532: Add a secure_compare() helper to the hmac module, to mitigateCharles-François Natali2012-05-131-0/+32
| | | | timing attacks. Patch by Jon Oberheide.
* Closes #13944: fix capitalization of class name.Georg Brandl2012-02-051-4/+4
|
* More source linksRaymond Hettinger2011-01-271-0/+3
|
* #5212: md5 weaknesses do not affect hmac, so remove the note about that.Georg Brandl2010-10-171-5/+0
|
* Fix hmac docs: it takes and returns bytes, except for hexdigest().Georg Brandl2010-10-171-16/+18
|
* Merged revisions 76904 via svnmerge fromEzio Melotti2009-12-191-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76904 | ezio.melotti | 2009-12-20 00:41:49 +0200 (Sun, 20 Dec 2009) | 1 line #7388: "python".capitalize() in the Doc ........
* More conversion to new-style optional args.Georg Brandl2009-05-171-2/+1
|
* Get rid of the remaining versionadded/versionchanged directives.Georg Brandl2007-09-011-2/+0
|
* Move the 3k reST doc tree in place.Georg Brandl2007-08-151-0/+61