Developer Playground
AES Encrypt/Decrypt
AES (Advanced Encryption Standard) is a symmetric key encryption algorithm that uses the same key to encrypt and decrypt data.
AES Encryption/Decryption
Encrypt or decrypt text using AES.
What is AES Encryption?
The Advanced Encryption Standard (AES) is a symmetric block cipher chosen by the U.S. government to protect classified information. AES is implemented in software and hardware throughout the world to encrypt sensitive data. It is essential for government computer security, cybersecurity, and electronic data protection.
Understanding Modes and Key Sizes
Modes: CBC (Cipher Block Chaining) is generally recommended over ECB (Electronic Codebook) as it provides better security by using an Initialization Vector (IV) to ensure identical plaintexts encrypt to different ciphertexts.
Key Sizes: AES supports key sizes of 128, 192, and 256 bits (16, 24, and 32 bytes respectively). Larger key sizes provide stronger security but may be slightly slower to process.
How to use this AES Tool
To encrypt your text, select your preferred mode and key size. Enter a secret key (and an IV if using CBC mode). Type your plain text into the Input area and click Encrypt. To decrypt, enter the encrypted text, select the exact same mode, key size, key, and IV used during encryption, and click Decrypt.