AES Encryption & Decryption

Advanced Encryption Standard (AES) - Encrypt and decrypt text using AES algorithm

AES Encryption

Encrypt your plain text using AES encryption algorithm

CBC requires Initialization Vector (IV) to make each message unique

IV must be 128 bits (16 characters). Example: "encryptionIntVec"

Key must be 128 bits (16 characters). Example: "aesEncryptionKey"

AES Decryption

Decrypt your encrypted text using AES decryption algorithm

About AES Encryption

What is AES?

Advanced Encryption Standard (AES) is a symmetric encryption algorithm. AES encryption is used for securing sensitive but unclassified material by U.S. government agencies. The AES engine requires a plain-text and a secret key for encryption and the same secret key is used again to decrypt it.

ECB vs CBC Mode

ECB (Electronic Code Book): The simplest block cipher mode. Each block of plaintext is encrypted separately. Identical plain text blocks produce identical cipher text blocks.

CBC (Cipher Block Chaining): An advanced form of block cipher encryption. Requires an Initialization Vector (IV) to make each message unique. Each ciphertext block is dependent on all plaintext blocks processed up to that point.

Key Sizes

AES supports three key sizes: 128 bits (16 characters), 192 bits (24 characters), and 256 bits (32 characters). The key size determines the security level of the encryption.