diff options
-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 |