AES Encryption & Decryption
Encrypt and decrypt text using the Advanced Encryption Standard (AES) algorithm. Supports various key sizes and modes of operation.
Leave empty to generate a random IV
Result
Enter text, provide a key, and click "Encrypt Text" or "Decrypt Text" to see results here
About AES Encryption
AES (Advanced Encryption Standard) is a symmetric encryption algorithm widely used for securing sensitive data. It was established by the U.S. National Institute of Standards and Technology (NIST) in 2001.
AES Key Sizes
AES supports three key sizes:
- AES-128 - Uses 16-byte (128-bit) keys
- AES-192 - Uses 24-byte (192-bit) keys
- AES-256 - Uses 32-byte (256-bit) keys
Important Security Notes
- Keep your secret key secure. Without it, encrypted data cannot be recovered.
- For modes like CBC, CFB, and OFB, you need both the key and IV for decryption.
- IV (Initialization Vector) does not need to be secret but should be random and unique for each encryption.
- ECB mode is not secure for most applications as it produces the same ciphertext for the same plaintext blocks.
How to Use This Tool
- Choose operation type (Encrypt or Decrypt)
- Enter text to process
- Provide a secret key with appropriate length for your chosen key size
- Select AES mode (CBC recommended for most cases)
- For encryption: either provide an IV or let the tool generate one
- For decryption: use the same key, mode, and IV that were used for encryption
- Click the process button to see results