AES advanced encrypt / decrypt

Encrypt and decrypt text with AES using an explicit key and IV (hex, base64 or text) in CBC, GCM, CTR or ECB mode, for interoperability with other systems.

About AES advanced encrypt / decrypt

Encrypts and decrypts text with AES using an explicit key and IV that you control, in CBC, GCM, CTR or ECB mode. Unlike a passphrase-based tool, it lets you reproduce exactly what another system or library does, which is what you need for interoperability work.

When you would use it

How to use it

  1. Choose the mode, then enter the key and pick its encoding (hex, base64 or UTF-8 text).
  2. Enter the IV or nonce in the same way; ECB needs none. For GCM you can also add optional authenticated data.
  3. Type the plain text to get the ciphertext in the encoding you chose, or paste ciphertext in the decrypt section to read the plain text.

Things worth knowing

Frequently asked questions

Why does decryption fail or give garbage?
Almost always a mismatch: a different key or IV, the wrong mode, the wrong ciphertext encoding (hex versus base64), or in GCM a missing tag or different additional data. Check each setting against the system that produced the data.
Is this the same as the simple encrypt/decrypt tool?
No. The simple tool takes a passphrase and derives the key and IV itself using a random salt, so its output differs each time and only matches tools with the same scheme. This one takes the raw key and IV, so you control every byte.

All the tools