]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-99502: mention bytes-like objects as input in `secrets.compare_digest` (GH-99512)
authorNikita Sobolev <mail@sobolevn.me>
Sat, 26 Nov 2022 09:33:48 +0000 (12:33 +0300)
committerGitHub <noreply@github.com>
Sat, 26 Nov 2022 09:33:48 +0000 (01:33 -0800)
commit47d673d81fc315069c14f9438ebe61fb70ef1ccc
tree3da85ea3b94fe937e4054b51a41d6da5b8a86e37
parentec2b76aa8b7c6313293ff9c6814e8bc31e08fcaf
gh-99502: mention bytes-like objects as input in `secrets.compare_digest` (GH-99512)

Now it is in sync with https://docs.python.org/3/library/hmac.html#hmac.compare_digest
It is the same function, just re-exported. So, I guess they should mention the same input types.
Doc/library/secrets.rst