HMAC

E37198

HMAC (Hash-based Message Authentication Code) is a cryptographic construction that combines a secret key with a hash function to provide data integrity and authentication.

AI illustration

How this image was made

AI-generated illustration of HMAC

This AI-generated illustration was produced by black-forest-labs/FLUX.2-dev (1024x1024) from a prompt written by openai/gpt-oss-120b from the entity's label + description.

Prompt

Generate an image of HMAC (HMAC (Hash-based Message Authentication Code) is a cryptographic construction that combines a secret key with a hash function to provide data integrity and authentication.)

All labels observed (16)

How this entity was disambiguated

Statements (49)

Predicate Object
instanceOf cryptographic construction ⓘ
keyed hash function ⓘ
message authentication code ⓘ
advantage no need for new primitives beyond hash ⓘ
simple to implement ⓘ
widely supported in libraries ⓘ
canBeTruncated yes ⓘ
comparisonRequirement constant-time comparison recommended ⓘ
component inner hash computation ⓘ
outer hash computation ⓘ
constructionType hash-based MAC ⓘ
definedOver iterated hash functions ⓘ
designGoal black-box use of hash function ⓘ
provable security under standard assumptions ⓘ
fullName Hash-based Message Authentication Code ⓘ
linked to: HMAC
introducedBy Hugo Krawczyk ⓘ
Mihir Bellare ⓘ
Ran Canetti ⓘ
keyProcessing keys longer than block size are hashed ⓘ
keys shorter than block size are padded with zeros ⓘ
outputType authentication tag ⓘ
fixed-length tag ⓘ
property resistant to length extension attacks (when underlying hash is vulnerable) ⓘ
provides data integrity ⓘ
message authentication ⓘ
origin authentication ⓘ
recommendedKeyLength at least as long as hash output ⓘ
requires shared secret key ⓘ
securityDependsOn key secrecy ⓘ
secret key length ⓘ
underlying hash function ⓘ
standardizedIn FIPS 198-1 ⓘ
RFC 2104 ⓘ
typicalHashFunction MD5 ⓘ
SHA-1 ⓘ
SHA-256 ⓘ
SHA-512 ⓘ
usedFor API authentication ⓘ
IPsec ⓘ
JSON Web Tokens (JWT) ⓘ
SSH ⓘ
TLS ⓘ
message integrity checks ⓘ
uses cryptographic hash function ⓘ
secret key ⓘ
usesConstant inner padding (ipad) ⓘ
outer padding (opad) ⓘ
verificationMethod recompute and compare tag ⓘ
yearIntroduced 1996 ⓘ

How these facts were elicited

Referenced by (42)

Full triples — surface form annotated when it differs from this entity's canonical label.

RFC 5246 → uses → HMAC ⓘ
IPsec → commonlyUsesAlgorithm → HMAC-SHA1 ⓘ
linked to: HMAC
SNMPv3 → supportsAuthenticationProtocol → HMAC-MD5-96 ⓘ
linked to: HMAC
SNMPv3 → supportsAuthenticationProtocol → HMAC-SHA-96 ⓘ
linked to: HMAC
RFC 4346 → supports → HMAC ⓘ
HMAC → fullName → Hash-based Message Authentication Code ⓘ
linked to: HMAC
TLS 1.0 → supportsMAC → HMAC-SHA1 ⓘ
linked to: HMAC
Poly1305 → comparedTo → HMAC ⓘ
RFC 3414 → authenticationProtocol → HMAC-MD5-96 ⓘ
linked to: HMAC
RFC 3414 → authenticationProtocol → HMAC-SHA-96 ⓘ
linked to: HMAC
RFC 3546 → defines → Truncated HMAC extension ⓘ
linked to: HMAC
User-based Security Model → uses → HMAC-MD5-96 authentication protocol ⓘ
linked to: HMAC
RFC 2574 → usesAlgorithm → HMAC-SHA-96 ⓘ
linked to: HMAC
TLS 1.2 PRF → basedOn → HMAC ⓘ
RFC 2104 → title → HMAC: Keyed-Hashing for Message Authentication ⓘ
linked to: HMAC
RFC 2104 → defines → HMAC ⓘ
FIPS 198-1 → fullName → The Keyed-Hash Message Authentication Code (HMAC) ⓘ
linked to: HMAC
FIPS 198-1 → defines → HMAC ⓘ
TSIG → supports → HMAC-SHA256 ⓘ
linked to: HMAC
Hugo Krawczyk → knownFor → HMAC ⓘ
Hugo Krawczyk → notableWork → HMAC: Keyed‑Hashing for Message Authentication ⓘ
linked to: HMAC
Hugo Krawczyk → notableWork → On the security of HMAC and NMAC ⓘ
linked to: HMAC
Hugo Krawczyk → notableConcept → HMAC construction ⓘ
linked to: HMAC
Hugo Krawczyk → notableConcept → HKDF (HMAC‑based Key Derivation Function) ⓘ
linked to: HMAC
RFC 6066 → defines → Truncated HMAC extension ⓘ
linked to: HMAC
LibreSSL → implements → HMAC ⓘ
SHA-2 → usedFor → HMAC ⓘ
PBKDF2 → typicallyUses → HMAC ⓘ
RFC 5849 → uses → HMAC-SHA1 ⓘ
linked to: HMAC
RFC 2195 → usesAlgorithm → HMAC-MD5 ⓘ
linked to: HMAC
UMAC → relatedConcept → HMAC ⓘ
VMAC → comparedWith → HMAC ⓘ
RFC 2845 → uses → HMAC ⓘ
Cryptographic Extraction and Key Derivation: The HKDF Scheme → basedOn → HMAC ⓘ
Cryptographic Extraction and Key Derivation: The HKDF Scheme → relatedTo → HMAC ⓘ
RFC 5172 → uses → HMAC ⓘ
RFC 5172 → subject → HMAC ⓘ
RFC 4366 → definesExtension → Truncated HMAC ⓘ
linked to: HMAC
TOTP RFC 6238 → uses → HMAC ⓘ