AES Calculator (AES-128 / 192 / 256)
NOUVEAUEncrypt and decrypt hex data with AES-128, AES-192 or AES-256 in ECB or CBC mode, with ISO 9797-1 padding and a live key check value.
Fonctionne à 100 % dans votre navigateur — vos données ne sont jamais envoyées ni stockées sur nos serveurs.
Cet outil n'est pas encore entièrement traduit : une partie du texte est encore en anglais. L'outil lui-même fonctionne de la même façon dans toutes les langues.
Runs entirely in your browser. Use test keys only — never paste production keys into a web page.
Exemples rapides
Des entrées typiques et les résultats produits par cet outil.
Présentation
AES is replacing Triple DES across payments: AES DUKPT, AES key blocks and AES PIN blocks all rely on it. When an HSM log, a test script or a specification shows an AES value, it helps to recompute one block by hand.
This AES calculator encrypts or decrypts hex data with a 16, 24 or 32-byte key in ECB mode, or in CBC mode with your own 16-byte IV. Data can be padded with ISO/IEC 9797-1 method 1 (zeros) or method 2 (80 then zeros). The key check value — the first three bytes of the key encrypting a zero block — and the AES-CMAC of a zero block are shown as you type the key.
Pourquoi utiliser cet outil ?
- Recompute AES values from test logs and specifications
- Confirm a key with its check value before loading it
- Supports all three AES key sizes
- Runs in your browser — use test keys only
Fonctionnalités
AES-128/192/256
The key size is picked from the key length.
ECB and CBC
CBC mode takes a 16-byte IV.
ISO 9797-1 padding
None, method 1 (zeros) or method 2 (80 00…).
KCV and CMAC
Classic KCV and the AES-CMAC of a zero block, shown live.
Mode d'emploi
Choose mode and padding
ECB or CBC; padding applies when encrypting.
Enter the key
Check the KCV against your key documentation.
Enter data
Hex, a multiple of 16 bytes unless you pad.
Encrypt or decrypt
Copy the result.