Return a hash object for the current state. To be used only internally with digest() and hexdigest().
(self)
| 182 | return other |
| 183 | |
| 184 | def _current(self): |
| 185 | """Return a hash object for the current state. |
| 186 | |
| 187 | To be used only internally with digest() and hexdigest(). |
| 188 | """ |
| 189 | if self._hmac: |
| 190 | return self._hmac |
| 191 | else: |
| 192 | h = self._outer.copy() |
| 193 | h.update(self._inner.digest()) |
| 194 | return h |
| 195 | |
| 196 | def digest(self): |
| 197 | """Return the hash value of this hashing object. |