
|
My Project
|
Public Member Functions | |
| __init__ (self, key, string=None) | |
| new (cls, key, string=None) | |
Public Member Functions inherited from wolfcrypt.hashes._Hash | |
| copy (self) | |
| update (self, string) | |
| digest (self) | |
| hexdigest (self) | |
Static Public Attributes | |
| digest_size = None | |
Protected Member Functions | |
| _init (self, type, key) | |
| _update (self, data) | |
| _final (self, obj, ret) | |
Protected Attributes | |
| _native_object = _ffi.new(self._native_type) | |
Protected Attributes inherited from wolfcrypt.hashes._Hash | |
| _native_object = _ffi.new(self._native_type) | |
| _native_size | |
Static Protected Attributes | |
| str | _native_type = "Hmac *" |
| _native_size = _ffi.sizeof("Hmac") | |
A **PEP 247: Cryptographic Hash Functions** compliant **Keyed Hash Function Interface**.
| wolfcrypt.hashes._Hmac.__init__ | ( | self, | |
| key, | |||
| string = None ) |
Reimplemented from wolfcrypt.hashes._Hash.
| 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.
Reimplemented from wolfcrypt.hashes._Hash.