Text Encryption
Secure text encryption and decryption with AES-GCM/AES-CBC. Password-based, browser-only processing, no data leaves your device.
Is my data safe when using this encryption tool?
Yes, all encryption and decryption happens entirely in your browser using the Web Crypto API. No data is ever sent to any server. Your text and password never leave your device.
What is the difference between AES-GCM and AES-CBC?
AES-GCM provides both encryption and authentication (AEAD), ensuring data integrity and authenticity. AES-CBC only provides encryption without authentication. AES-GCM is generally recommended for most use cases as it is more secure.
What key length should I use?
AES-256 provides the highest security level and is recommended for sensitive data. AES-128 is still considered secure and is faster. Both are widely used in production systems.
Can I decrypt text encrypted with this tool elsewhere?
Yes, the output is standard Base64-encoded ciphertext using standard AES algorithms. Any tool that supports AES-GCM or AES-CBC with PBKDF2 key derivation (100,000 iterations, SHA-256) can decrypt it, given the correct password.
How does password-based encryption work?
The tool uses PBKDF2 (Password-Based Key Derivation Function 2) to convert your password into a cryptographic key. This process involves 100,000 iterations with SHA-256 hashing, making brute-force attacks extremely difficult.
What is the purpose of the initialization vector (IV)?
The IV is a random value used to ensure that encrypting the same text with the same password produces different ciphertext each time. This prevents pattern analysis attacks.
Can I encrypt large files with this tool?
This tool is designed for text encryption. For large files, consider using dedicated file encryption tools. Text encryption in the browser has memory limitations.
What happens if I forget my password?
Without the correct password, decryption is impossible. AES encryption is designed to be secure against brute-force attacks. Always store your password safely.
Is this tool compliant with encryption standards?
Yes, it uses NIST-approved AES algorithms and PBKDF2 key derivation, which are industry standards for secure encryption.
Can I use this tool offline?
Yes, once the page is loaded, all operations work offline since everything runs in your browser.