HMAC.name The canonical name of this HMAC, always lowercase, e.g. hmac-md5.
hash.hexdigest() Like digest() except the digest is returned as a string object of double length, containing only
hashlib.new(name[, data]) Is a generic constructor that takes the string name of the desired algorithm as its first parameter
hashlib.algorithms_available A set containing the names of the hash algorithms that are available in the running Python interpreter
HMAC.digest() Return the digest of the bytes passed to the update() method so far. This bytes object will be the
hash.name The canonical name of this hash, always lowercase and always suitable as a parameter to new() to create
HMAC.copy() Return a copy (“clone”) of the hmac object. This can be used to efficiently compute the digests of strings that
HMAC.block_size The internal block size of the hash algorithm in bytes.
hash.digest_size The size of the resulting hash in bytes.
hmac.compare_digest(a, b) Return a == b. This function uses an approach designed to prevent timing analysis by
Page 2 of 2