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

Method digest

Lib/hmac.py:196–204  ·  view source on GitHub ↗

Return the hash value of this hashing object. This returns the hmac value as bytes. The object is not altered in any way by this function; you can continue updating the object after calling this function.

(self)

Source from the content-addressed store, hash-verified

194 return h
195
196 def digest(self):
197 """Return the hash value of this hashing object.
198
199 This returns the hmac value as bytes. The object is
200 not altered in any way by this function; you can continue
201 updating the object after calling this function.
202 """
203 h = self._current()
204 return h.digest()
205
206 def hexdigest(self):
207 """Like digest(), but returns a string of hexadecimal digits instead.

Callers 9

check_updateMethod · 0.95
test_equalityMethod · 0.95
seedMethod · 0.45
smtplib.pyFile · 0.45
_init_oldMethod · 0.45
_currentMethod · 0.45
_compute_digest_fallbackFunction · 0.45
uuid3Function · 0.45
uuid5Function · 0.45

Calls 1

_currentMethod · 0.95

Tested by 2

check_updateMethod · 0.76
test_equalityMethod · 0.76