Search the documentation

Type to search. Use ↑ and ↓ to move, Enter to open.

Message authentication codes

HMAC and CMAC, keyed tags that detect tampering.

1
projects
1
run in the browser
Defining formula
HMAC(K,m)=H((K⊕opad) ∥ H((K⊕ipad) ∥ m))\mathrm{HMAC}(K, m) = H\bigl((K \oplus opad)\,\|\,H((K \oplus ipad)\,\|\,m)\bigr)

A keyed hash that proves a message came from the holder of K and was not changed.

On this page

Projects that use it

Neighbourhood in the knowledge graph

Message authentication codesCryptographyCryptography in CNumber Theory ExplorerBlock ciphersFinite fieldsCryptographic hash functionsRSAModular exponentiationPrimality testingArbitrary-precision arithmeticEuclidean algorithmCryptography Performance AnalysisSolvatore
ProjectsConceptsDomainsShow in graph →