diff options
author | Georg Brandl <georg@python.org> | 2012-06-24 14:11:23 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-06-24 14:11:23 (GMT) |
commit | ae64b4d8e252974121f5233507736986695fca2b (patch) | |
tree | 1dff7715b8d9b3dc743a2e1a464bb6f51eb523ad /Doc/library | |
parent | 3b44d81cf956effe4088839ebf96e1950b92eb2c (diff) | |
parent | 4f9946874ba591326d57d60bbeef9e4f51432ac7 (diff) | |
download | cpython-ae64b4d8e252974121f5233507736986695fca2b.zip cpython-ae64b4d8e252974121f5233507736986695fca2b.tar.gz cpython-ae64b4d8e252974121f5233507736986695fca2b.tar.bz2 |
Merge heads.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/hmac.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/hmac.rst b/Doc/library/hmac.rst index 085c12b..ce93cbc 100644 --- a/Doc/library/hmac.rst +++ b/Doc/library/hmac.rst @@ -75,7 +75,7 @@ This module also provides the following helper function: appropriate for cryptography. *a* and *b* must both be of the same type: either :class:`str` (ASCII only, as e.g. returned by :meth:`HMAC.hexdigest`), or any type that supports the - :term:`buffer protocol` (e.g. :class:`bytes`). + buffer protocol (e.g. :class:`bytes`). Using a short circuiting comparison (that is, one that terminates as soon as it finds any difference between the values) to check digests for correctness |