Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
HMAC
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Computer communications authentication algorithm}} {{pp|small=yes}} {{Use dmy dates|date=June 2024}} {{Redirect|NMAC|the Nissan Motor Acceptance Corp|Nissan USA}} [[File:SHAhmac.svg|thumb|upright=1.5|HMAC-SHA1 generation]] In [[cryptography]], an '''HMAC''' (sometimes expanded as either '''keyed-hash message authentication code''' or '''hash-based message authentication code''') is a specific type of [[message authentication code]] (MAC) involving a [[cryptographic hash function]] and a secret cryptographic key. As with any MAC, it may be used to simultaneously verify both the [[data integrity]] and authenticity of a message. An HMAC is a type of keyed hash function that can also be used in a key derivation scheme or a key stretching scheme. HMAC can provide authentication using a [[shared secret]] instead of using [[digital signature]]s with [[Public-key cryptography|asymmetric cryptography]]. It trades off the need for a complex [[public key infrastructure]] by delegating the key exchange to the communicating parties, who are responsible for establishing and using a trusted channel to agree on the key prior to communication.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)