HMAC.name The canonical name of this HMAC, always lowercase, e.g. hmac-md5.
HMAC.block_size The internal block size of the hash algorithm in bytes.
hash.name The canonical name of this hash, always lowercase and always suitable as a parameter to new() to create
hashlib.new(name[, data]) Is a generic constructor that takes the string name of the desired algorithm as its first parameter
hash.digest_size The size of the resulting hash in bytes.
hash.hexdigest() Like digest() except the digest is returned as a string object of double length, containing only
hmac.compare_digest(a, b) Return a == b. This function uses an approach designed to prevent timing analysis by
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
HMAC.copy() Return a copy (“clone”) of the hmac object. This can be used to efficiently compute the digests of strings that
Page 2 of 2