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

Function digest_wrapper

Lib/hmac.py:43–45  ·  view source on GitHub ↗
(d=b'')

Source from the content-addressed store, hash-verified

41 return digest_like
42 if isinstance(digest_like, str):
43 def digest_wrapper(d=b''):
44 import hashlib
45 return hashlib.new(digest_like, d)
46 else:
47 def digest_wrapper(d=b''):
48 return digest_like.new(d)

Callers

nothing calls this directly

Calls 1

newMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…