MCPcopy Index your code
hub / github.com/RustPython/RustPython / digest

Method digest

Lib/hmac.py:184–192  ·  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

182 return h
183
184 def digest(self):
185 """Return the hash value of this hashing object.
186
187 This returns the hmac value as bytes. The object is
188 not altered in any way by this function; you can continue
189 updating the object after calling this function.
190 """
191 h = self._current()
192 return h.digest()
193
194 def hexdigest(self):
195 """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