MCPcopy Index your code
hub / github.com/python/cpython / hmac_new

Method hmac_new

Lib/test/test_hmac.py:167–168  ·  view source on GitHub ↗
(self, key, msg=None, digestmod=DIGESTMOD_SENTINEL)

Source from the content-addressed store, hash-verified

165 """Mixin delegating to _hashlib.hmac_new() and _hashlib.hmac_digest()."""
166
167 def hmac_new(self, key, msg=None, digestmod=DIGESTMOD_SENTINEL):
168 return _call_newobj_func(_hashlib.hmac_new, key, msg, digestmod)
169
170 def hmac_digest(self, key, msg=None, digestmod=DIGESTMOD_SENTINEL):
171 return _call_digest_func(_hashlib.hmac_digest, key, msg, digestmod)

Callers

nothing calls this directly

Calls 1

_call_newobj_funcFunction · 0.85

Tested by

no test coverage detected