⚡
usefultools.dev
AES

AES Calculator (AES-128 / 192 / 256)

NOVO

Encrypt 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.

Funciona 100% no seu navegador — o que você insere nunca é enviado nem armazenado nos nossos servidores.

Esta ferramenta ainda não está totalmente traduzida, por isso parte do texto continua em inglês. A ferramenta funciona da mesma forma em todos os idiomas.

AES-128 · KCV C6A13B
KCV (encrypt zero block)C6A13B
AES-CMAC of 16 zero bytesBE7ED6AE787DD5544C5561C7DCD06ABBleftmost bytes = CMAC-based KCV

Runs entirely in your browser. Use test keys only — never paste production keys into a web page.

⚡

Exemplos rápidos

Entradas típicas e os resultados que esta ferramenta gera.

AES-128
Key 0001…0E0F · 0011…EEFF
69C4E0D8…70B4C55A
AES-256
Key 0001…1E1F · 0011…EEFF
8EA2B7CA…4B496089
AES-128
AABB · ISO 9797-1 M2 pad
AC348D0B…246244DE
KCV
KCV of key 0001…0E0F
C6A13B
KCV
KCV of all-zero key
66E94B
📖

Visão geral

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.

Por que usar esta ferramenta?

  • 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
⭐

Recursos

🔑

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.

🛠️

Como usar

1

Choose mode and padding

ECB or CBC; padding applies when encrypting.

2

Enter the key

Check the KCV against your key documentation.

3

Enter data

Hex, a multiple of 16 bytes unless you pad.

4

Encrypt or decrypt

Copy the result.

🤔

Perguntas frequentes