bpo-40645: Deprecated internal details of hmac.HMAC (GH-20132)

This commit is contained in:
Christian Heimes 2020-05-17 01:05:40 +02:00 committed by GitHub
parent dff92bb31f
commit 837f9e42e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 59 additions and 23 deletions

View file

@ -114,6 +114,12 @@ A hash object has the following attributes:
.. versionadded:: 3.4
.. deprecated:: 3.9
The undocumented attributes ``HMAC.digest_cons``, ``HMAC.inner``, and
``HMAC.outer`` are internal implementation details and will be removed in
Python 3.10.
This module also provides the following helper function:
.. function:: compare_digest(a, b)