klyn.cryptography.Hmac.Hmac
constructor
public Hmac() throws CryptoException:
Description

Creates an HMAC using SHA256.

import klyn.cryptography

mac = Hmac()
print(mac.algorithm)
Throws
  • CryptoException if parameters, encodings, keys, algorithms, or native cryptographic operations are invalid.