ToolPuma Logo

AES-CBC Encrypt

Encrypt text with AES-CBC.

Note: The key is derived from the password with SHA-256 and a fresh random IV is used for every encryption. The output format is iv:ciphertext as lowercase hex. For AES-GCM the ciphertext is authenticated (tamper and wrong-password detection); CBC and CTR are not — use GCM for secure data.

What Is a AES-CBC Encrypt?

The AES-CBC Encrypt tool encrypts text with AES in Cipher Block Chaining mode. Each block is XORed with the previous ciphertext block before encryption, which hides patterns in the plaintext. CBC is a classic mode still used in many legacy systems and protocols.

How to Use This AES-CBC Encrypt

  1. 1
    Enter PasswordType the password used to derive the key.
  2. 2
    Enter TextType your plaintext.
  3. 3
    EncryptClick 'Encrypt CBC' to produce the iv:ciphertext output and copy it.

Frequently Asked Questions

CBC is secure for confidentiality when used correctly with a random IV and proper padding. However, it does not authenticate the data, so GCM is preferred when tamper detection matters.
The IV ensures that identical plaintext blocks produce different ciphertext, and the first block is XORed with the IV to start the chain.