TOOLS / ENCRYPTION

AES Encrypt/Decrypt

Encrypt and decrypt with AES.

Uses the selected key size and padding. Examples contain test data only.

Block cipher mode
Padding
Key size

Decrypt always reads ciphertext as HEX.

Calculator reference

Verification evidence and limitations →

What it calculates

Encrypts or decrypts byte data with AES.

Inputs and methods

128/192/256-bit HEX keys; ECB, CBC, CFB, OFB or GCM. IV, padding and authentication fields depend on mode.

Worked example

AES-128, ECB, no padding. Key and plaintext are each 16 zero bytes.

66E94BD4EF8A2C3B884CFA59CA342B2E

Specification and limits

This fixed input is a test vector. GCM requires correct nonce and tag handling; ECB does not authenticate data.

FIPS 197 ↗