HMAC

Applies to: cybersecurity

HMAC combines a secret key with a hash function to authenticate messages.

hmac.new(key, msg, hashlib.sha256).hexdigest()

See also: hash-function