IT lexicon › Security › AES Key Wrap

AES Key Wrap

Security På svenska → Updated: 2026-10-12

A construction for encrypting one key with another, specified in RFC 3394 in 2002 and built on AES.

AES Key Wrap is a dedicated construction for protecting key material with a key-encryption key. It uses AES, but it is not AES-CBC or AES-GCM. It has no ordinary IV. Instead it starts from a fixed constant, A6A6A6A6A6A6A6A6, which doubles as the integrity check when the key is unwrapped.

A wrong key or tampered data therefore shows up straight away, with no separate MAC. A common mistake is to reach for raw AES-ECB to wrap keys, which brings back the pattern leakage that ECB is notorious for. If you are building key management, use the standard construction rather than inventing your own.

← Back to the lexicon