
Public Member Functions | |
| def | __init__ (self, key, string=None) |
| def | new (cls, key, string=None) |
Public Member Functions inherited from wolfcrypt.hashes._Hash | |
| def | __init__ (self, string=None) |
| def | new (cls, string=None) |
| def | copy (self) |
| def | update (self, string) |
| def | digest (self) |
| def | hexdigest (self) |
Static Public Attributes | |
| digest_size = None | |
A **PEP 247: Cryptographic Hash Functions** compliant **Keyed Hash Function Interface**.
| def wolfcrypt.hashes._Hmac.new | ( | cls, | |
| key, | |||
string = None |
|||
| ) |
Creates a new hashing object and returns it. **key** is a required parameter containing a string giving the key to use. The optional **string** parameter, if supplied, will be immediately hashed into the object's starting state, as if obj.update(string) was called.