AES

Encrypt and decrypt AES in the browser. CBC, CFB, CTR, OFB, and ECB.

Added 2026-10-24

What it does

AES encrypts and decrypts with CBC, CFB, CTR, OFB, or ECB in this tab. ECB ignores the IV, and equal plaintext blocks become equal ciphertext, so ECB does not hide repeated patterns. Use CBC, CTR, or another mode for a real message. A short key is padded with zero bytes out to 16, 24, or 32 bytes, and extra bytes are dropped. The key is raw bytes. A password is not stretched unless you derive a key with PBKDF2 first. Iso10126 adds random padding, so the same text encrypts to a different result each time. The key and the plaintext are not uploaded.

How to use it

  1. Paste the text, key, and IV. ECB ignores the IV.
  2. A short key is filled with zero bytes up to 16, 24, or 32 bytes. Extra bytes are dropped.
  3. Iso10126 adds random padding, so the same text encrypts differently each time.

Common mistakes

  • ECB repeats patterns. Equal blocks become equal ciphertext. Use CBC, CTR, or another mode for real messages.
  • The key is raw bytes, not a password. This does not run a password hash first. Use PBKDF2 when the secret is a password.

Encryption stays in this tab. The key and text are not uploaded.

Related guides

Related tools