Encrypt / Decrypt Text
What is Text Encryption?
Text encryption is the process of converting plain, readable text into an unreadable format (ciphertext) using cryptographic algorithms and a secret key. Our tool uses authenticated AES-256-GCM with PBKDF2 key derivation (600,000 iterations) directly in your browser. Only those with the exact password or key can decrypt and read the original message.
- Confidentiality: Keeps sensitive data private and secure with AES-256-GCM
- Integrity & Authentication: Built-in tamper detection rejects altered ciphertext
- Hardened PBKDF2: 600,000 SHA-256 rounds resist dictionary and GPU brute-force attacks
- Key Generator: 1-click cryptographically secure random 256-bit passphrase creation
- Private: Encryption happens locally in your browser via Web Crypto API
Common Uses
- Secure Messaging: Protect private communications across untrusted channels
- Password Protection: Encrypt passwords or recovery seeds before storing them
- Data Storage: Secure sensitive text snippets and credentials
- API Tokens: Safely share configuration secrets and API keys
- Personal Notes: Keep private journals and medical notes secure
What this tool provides
What this tool provides
- AES-256-GCM: Authenticated cipher mode that guarantees both confidentiality and tamper detection
- PBKDF2 Key Hardening: Passphrase derived with 600,000 iterations of SHA-256 and unique 16-byte random salt
- Strong Key Generator: Generate high-entropy passphrases instantly using CSPRNG
- One-click swap: Reverse encrypt ↔ decrypt without retyping the key
How to Use
- Select Encrypt or Decrypt mode
- Enter a strong secret key or click the dice icon to generate one
- Paste or type your text in the input field
- Click Encrypt Text or Decrypt Text
- Use the Swap button to quickly reverse the operation
Glossary
- AES-256-GCM
- Advanced Encryption Standard in Galois/Counter Mode with 256-bit keys — the premier industry standard for authenticated encryption offering high speed and tamper-proof security.
- PBKDF2
- Password-Based Key Derivation Function 2 — applies a cryptographic hash function (SHA-256) repeatedly with a random salt (600,000 rounds) to defeat rainbow tables and brute-force cracking.
- Initialization Vector (IV)
- A random, single-use 96-bit value generated per encryption session to ensure identical plaintexts produce completely different ciphertexts.
- Ciphertext
- The encrypted, unreadable output of an encryption algorithm containing authenticated ciphertext and authentication tag.
- Plaintext
- The original, readable text before encryption or after decryption.
- Symmetric Encryption
- Encryption method where the same secret key is used for both encryption and decryption.
Sources
- W3C Web Cryptography API — Browser API this tool uses for AES-256-GCM
- NIST SP 800-38D — GCM mode specification