Hash Lab

Keyed cryptographic (MAC)

UMAC & VMAC

Two universal-hash-based MACs from the early 2000s. UMAC by Black, Halevi, Krawczyk, Krovetz, and Rogaway (RFC 4418, 2006); VMAC by Krovetz and Dai (2007). When CPUs hit 32-bit and 64-bit multiply-add instructions, UMAC / VMAC briefly held the “fastest MAC in the world” crown. Today Poly1305 (portable) and GHASH (with CLMUL hardware) have taken that throne, and UMAC / VMAC live on mostly in legacy protocols.

How they differ

At a glance

DesignersUMAC: Black, Halevi, Krawczyk, Krovetz, Rogaway (2000-2006). VMAC: Krovetz, Dai (2007)
StandardUMAC: RFC 4418. VMAC: Internet-draft only.
StatusMature, secure; outclassed by Poly1305 and GHASH on modern hardware

Where they show up today

vs Poly1305 / GHASH

All three are Carter-Wegman style: a fast universal hash combined with a per-nonce key from a block cipher / stream cipher. Poly1305 beats UMAC on portable code (no hardware needed). GHASH beats everything on CPUs with CLMUL (since 2010 Intel SSE4.2 / AES-NI Westmere). UMAC / VMAC are the historical bridge.

References

Test Your Knowledge

Quick MCQ check on this algorithm

Start Quiz →

AI Summary

Summarize this page in your favorite LLM