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.
hmac.new(key, msg=None, digestmod=None) Return a new hmac object. key is a bytes or bytearray object giving the secret
hashlib.pbkdf2_hmac(hash_name, password, salt, iterations, dklen=None) The function provides PKCS#5 password-based key derivation
hash.update(arg) Update the hash object with the object arg, which must be interpretable as a buffer of bytes. Repeated
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
HMAC.name The canonical name of this HMAC, always lowercase, e.g. hmac-md5.
hash.digest() Return the digest of the data passed to the update() method so far. This is a bytes object of size
HMAC.digest_size The size of the resulting HMAC digest in bytes.
Page 1 of 2