diff options
| author | Georg Brandl <georg@python.org> | 2012-06-24 16:11:23 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2012-06-24 16:11:23 +0200 |
| commit | ae64b4d8e252974121f5233507736986695fca2b (patch) | |
| tree | 1dff7715b8d9b3dc743a2e1a464bb6f51eb523ad | |
| parent | 3b44d81cf956effe4088839ebf96e1950b92eb2c (diff) | |
| parent | 4f9946874ba591326d57d60bbeef9e4f51432ac7 (diff) | |
| download | cpython-git-ae64b4d8e252974121f5233507736986695fca2b.tar.gz | |
Merge heads.
| -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 085c12b857..ce93cbc777 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 |
