pylibressl.mac.hmac¶
Module Contents¶
Attributes¶
- class pylibressl.mac.hmac.HMAC(private_key)¶
Bases:
objectGeneric HMAC class.
- classmethod new(cls, hash_type, name='NewHMAC')¶
Create new HMAC class with specified digest.
- _sign(self, data)¶
- sign(self, data)¶
Sign a message using HMAC.
- verify(self, data, auth_code)¶
Verify message authencity using HMAC signature.
- sign_size(self)¶
Return size of an authentication code.
- pylibressl.mac.hmac.HMAC_Streebog512¶
- pylibressl.mac.hmac.__doc__ = HMAC_Streebog512¶