MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _current

Method _current

tools/python-3.11.9-amd64/Lib/hmac.py:139–149  ·  view source on GitHub ↗

Return a hash object for the current state. To be used only internally with digest() and hexdigest().

(self)

Source from the content-addressed store, hash-verified

137 return other
138
139 def _current(self):
140 """Return a hash object for the current state.
141
142 To be used only internally with digest() and hexdigest().
143 """
144 if self._hmac:
145 return self._hmac
146 else:
147 h = self._outer.copy()
148 h.update(self._inner.digest())
149 return h
150
151 def digest(self):
152 """Return the hash value of this hashing object.

Callers 2

digestMethod · 0.95
hexdigestMethod · 0.95

Calls 3

digestMethod · 0.80
copyMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected