hashlib.algorithms_guaranteed A set containing the names of the hash algorithms guaranteed to be supported by this module on
hash.block_size The internal block size of the hash algorithm in bytes.
hashlib.pbkdf2_hmac(hash_name, password, salt, iterations, dklen=None) The function provides PKCS#5 password-based key derivation
hmac.new(key, msg=None, digestmod=None) Return a new hmac object. key is a bytes or bytearray object giving the secret
HMAC.hexdigest() Like digest() except the digest is returned as a string twice the length containing only hexadecimal
hash.copy() Return a copy (“clone”) of the hash object. This can be used to efficiently compute the digests of data sharing
hash.update(arg) Update the hash object with the object arg, which must be interpretable as a buffer of bytes. Repeated
HMAC.update(msg) Update the hmac object with msg. Repeated calls are equivalent to a single call with the concatenation
hash.digest() Return the digest of the data passed to the update() method so far. This is a bytes object of size
HMAC.name The canonical name of this HMAC, always lowercase, e.g. hmac-md5.
Page 1 of 2