AES (Advanced Encryption Standard) is the most widely used symmetric key encryption algorithm in modern applications.
This page provides an online AES encryption/decryption tool built directly into WordPress using PHP OpenSSL.
You can test various AES configurations such as mode, padding, key size, IV, and output format, similar to popular online tools like Devglan.
⭐ Features
This tool allows you to test AES encryption and decryption with the following options:
1. Operation
- Encrypt – Convert plain text into ciphertext
- Decrypt – Convert ciphertext back into plain text
2. Cipher Mode
- ECB
- Does not use an IV
- Fast but not recommended for real security due to pattern leaks
- CBC
- Most commonly used mode, requires a 16-byte IV
- CTR
- Stream-like operation, efficient and secure when IV/nonce is used properly
3. Padding
- PKCS5Padding
- Standard padding used in most AES implementations
- NoPadding
- Only works when data length is exactly a multiple of 16 bytes
4. Key Size
- 128-bit (16 bytes)
- 192-bit (24 bytes)
- 256-bit (32 bytes)
Strings are padded or trimmed automatically to match the selected key size.
5. IV (Initialization Vector)
- Required for CBC and CTR modes
- Not used in ECB
- If left empty, a zero-filled IV will be used (for testing only)
6. Output Format
- Base64 – Recommended for easy sharing of ciphertext
- Hex – Useful for debugging or compatibility with other systems
🔧 AES Encryption/Decryption Test Form
Enter your values below and click Run to perform encryption or decryption.
This tool is for testing and educational purposes.
AES Encryption / Decryption Tool
🧪 Matching Results with Other Languages
This AES tool uses:
- Algorithm: AES
- Modes: ECB / CBC / CTR
- Padding: PKCS5Padding or NoPadding
- Key sizes: 128 / 192 / 256 bits
- Output format: Base64 or Hex
To match the output in other languages, ensure the following are identical:
- Key size
- Mode (AES/CBC, AES/CTR, AES/ECB)
- IV value
- Padding scheme
- Input/output format
Languages commonly used in AES testing:
- Python (PyCryptodome)
- Java (javax.crypto)
- JavaScript (CryptoJS, WebCrypto)
- PHP OpenSSL
- C#, Node.js, Go, etc.
⚠️ Disclaimer
This tool is intended for testing and educational purposes only.
Do not use it to encrypt sensitive or production-level data.