Return a hash object for the current state. To be used only internally with digest() and hexdigest().
(self)
| 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. |