Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ update
Method
update
Lib/test/test_hmac.py:1486–1487 ·
view source on GitHub ↗
(self, v)
Source
from the content-addressed store, hash-verified
1484
self._x = hashlib.sha256(*args)
1485
self.digest_size = self._x.digest_size
1486
def
update(self, v):
1487
self._x.update(v)
1488
def
digest(self):
1489
return
self._x.digest()
1490
Callers
4
hmac_new_feed
Method · 0.45
assert_hmac_common_cases
Method · 0.45
test_methods
Method · 0.45
test_equality_new
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected