U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.


Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

FIPS 198-1

The Keyed-Hash Message Authentication Code (HMAC)

Date Published: July 2008

Supersedes: FIPS 198 (03/06/2002)

Planning Note (10/1/2021): This publication is under review. See the Crypto Publication Review Project for more details.


National Institute of Standards and Technology



HMAC; MAC; message authentication; Federal Information Processing Standards (FIPS); cryptography; computer security
Control Families

Audit and Accountability; System and Communications Protection; System and Information Integrity


FIPS 198-1 (DOI)
Local Download

Supplemental Material:
None available

Document History:
07/16/08: FIPS 198-1 (Final)


Security and Privacy
message authentication

Laws and Regulations
Federal Information Security Modernization Act