mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
use blank object instead
This commit is contained in:
parent
c3f810fb56
commit
bf6f31b65f
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ digest_size = None
|
||||||
# A unique object passed by HMAC.copy() to the HMAC constructor, in order
|
# A unique object passed by HMAC.copy() to the HMAC constructor, in order
|
||||||
# that the latter return very quickly. HMAC("") in contrast is quite
|
# that the latter return very quickly. HMAC("") in contrast is quite
|
||||||
# expensive.
|
# expensive.
|
||||||
_secret_backdoor_key = []
|
_secret_backdoor_key = object()
|
||||||
|
|
||||||
class HMAC:
|
class HMAC:
|
||||||
"""RFC 2104 HMAC class. Also complies with RFC 4231.
|
"""RFC 2104 HMAC class. Also complies with RFC 4231.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue