Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ HMAC
Method
HMAC
Lib/test/test_hmac.py:1199–1200 ·
view source on GitHub ↗
(self, key, msg=None)
Source
from the content-addressed store, hash-verified
1197
class
OpenSSLUpdateTestCase(UpdateTestCaseMixin, unittest.TestCase):
1198
1199
def
HMAC(self, key, msg=None):
1200
return
_hashlib.hmac_new(key, msg, digestmod=
'sha256'
)
1201
1202
@property
1203
def
gil_minsize(self):
Callers
nothing calls this directly
Calls
1
hmac_new
Method · 0.45
Tested by
no test coverage detected