Return the hash value of this hashing object. This returns the hmac value as bytes. The object is not altered in any way by this function; you can continue updating the object after calling this function.
(self)
| 182 | return h |
| 183 | |
| 184 | def digest(self): |
| 185 | """Return the hash value of this hashing object. |
| 186 | |
| 187 | This returns the hmac value as bytes. The object is |
| 188 | not altered in any way by this function; you can continue |
| 189 | updating the object after calling this function. |
| 190 | """ |
| 191 | h = self._current() |
| 192 | return h.digest() |
| 193 | |
| 194 | def hexdigest(self): |
| 195 | """Like digest(), but returns a string of hexadecimal digits instead. |