Encryption & Decryption Studio
Encrypt and decrypt text or files using modern cryptographic algorithms, generate secure keys, and compare classical encryption methods for educational purposes.
This tool is for legitimate privacy, learning, and secure data handling. It does not help with evasion, concealment of illegal activity, malware, or anti-forensic activity.
Learning mode
Show calculation steps / learning mode
Algorithm Selector
Choose an algorithm family
Modern symmetric encryption
Password-based encryption
Public-key and agreement
Classical algorithms for education only
Encryption/Decryption Workspace
Text Encryption Studio
Selected algorithm: AES-GCM. Authenticated encryption for most text and file workflows.
Output
Required Decryption Values
Save the ciphertext plus the same algorithm, key or password, IV/nonce, and salt when password-derived encryption is used.
File Encryption Studio
File Encryption & Decryption
File encryption uses AES-GCM. All file processing stays in your browser.
File Output
Encrypted files and metadata downloads will appear here.
Algorithm Explanation
What the selected algorithm does
AES-GCM is the recommended default because it encrypts data and authenticates it. Decryption fails if the ciphertext, key, IV, or tag has been changed.
Classical Ciphers
Educational algorithms with full manual calculations
Caesar, Vigenere, XOR, and Base64 are included for learning and comparison. They are clearly separated from modern encryption and should not be used to protect sensitive data.
Algorithm Comparison
Compare algorithms and use cases
| Algorithm | Type | Security level | Best use | Notes |
|---|---|---|---|---|
| AES-GCM | Symmetric authenticated encryption | High | Text and file encryption | Recommended. Includes authentication tag in WebCrypto output. |
| AES-CBC | Symmetric encryption | Legacy | Compatibility with older systems | Requires separate authentication in real systems. |
| AES-CTR | Symmetric stream-like mode | Advanced | Educational or compatibility workflows | Nonce/counter reuse is dangerous. |
| PBKDF2 + AES-GCM | Password-based encryption | High with strong password | Encrypting with a memorable password | Uses salt and many iterations to derive a key. |
| RSA-OAEP | Public-key encryption | High for small messages | Encrypting short secrets with public keys | Not for large files directly. Hybrid encryption is common. |
| ECDH + AES-GCM | Key agreement + symmetric encryption | High | Establishing a shared secret | ECDH agrees on a secret; AES-GCM encrypts data. |
| Caesar Cipher | Classical substitution | Not secure | Teaching modular arithmetic | Trivial to break. |
| Vigenere Cipher | Classical polyalphabetic | Not secure | Teaching key repetition and modulo math | Vulnerable to frequency and key-length analysis. |
| XOR Cipher | Educational byte operation | Not secure alone | Teaching binary operations | Only secure as a true one-time pad with perfect key use. |
| Base64 | Encoding | No security | Representing bytes as text | Anyone can decode it. |
FAQ
Common questions
What is the best algorithm to use?
AES-GCM is recommended for most text and file encryption tasks.
Is Base64 encryption?
No. Base64 is encoding, not encryption.
What happens if I lose my key?
The encrypted data cannot be recovered.
Are files uploaded to a server?
No. Processing happens locally in the browser.
Should I use classical ciphers?
Only for learning. They are not secure.
What is the difference between encryption and hashing?
Encryption is reversible with a key. Hashing is one-way.
Encrypt and decrypt text or files using modern cryptographic algorithms, generate secure keys, and compare classical encryption methods for educational purposes. All processing happens locally in your browser. This studio expands the original AES page into a broader, local, educational workspace for secure data handling and cryptography learning.