Return a hash object for the current state. To be used only internally with digest() and hexdigest().
(self)
| 170 | return other |
| 171 | |
| 172 | def _current(self): |
| 173 | """Return a hash object for the current state. |
| 174 | |
| 175 | To be used only internally with digest() and hexdigest(). |
| 176 | """ |
| 177 | if self._hmac: |
| 178 | return self._hmac |
| 179 | else: |
| 180 | h = self._outer.copy() |
| 181 | h.update(self._inner.digest()) |
| 182 | return h |
| 183 | |
| 184 | def digest(self): |
| 185 | """Return the hash value of this hashing object. |