What Is a Text Encryption Tool?
Text encryption converts readable text into ciphertext that can only be read with the right key; this tool derives the key from your passphrase.
How to Use This Tool
- Enter the text in a trusted browser.
- Enter or generate a strong encryption passphrase.
- Encrypt and copy the complete versioned envelope.
- Keep the passphrase separately and clear the form.
How It Works
AES-256-GCM encrypts UTF-8 text with a 128-bit authentication tag. PBKDF2-SHA256 derives the key from the passphrase using 600000 iterations and a fresh random 16-byte salt; every encryption uses a fresh random 12-byte nonce. A versioned envelope retains the version, algorithm and KDF identifiers, iteration count, salt, nonce, and ciphertext including the tag. Base64 encodes binary fields; it is not encryption. The paired decryptor must validate the supported version and parameters.
Benefits and Use Cases
- Keep plaintext out of an upload workflow.
- Detect ciphertext modification during authenticated decryption.
- Retain the parameters needed by the paired decryptor.
Security Best Practices
- Keep a tested backup of the passphrase.
- Send the passphrase through a separate channel.
- Use a trusted device because local processing cannot stop malicious extensions.
How Do I Read the Results?
Share the encrypted text and the passphrase through different channels; without the passphrase it cannot be recovered.
Assumptions and Limitations
Security depends on passphrase strength; lost passphrases cannot be recovered.
Related LogMeOnce Resources
Sources and Further Reading
Frequently Asked Questions
Can the passphrase be recovered?
No recovery mechanism is provided; retain it securely before relying on the encrypted output.
Why include the salt and nonce?
They are nonsecret cryptographic parameters needed to derive the same key and decrypt the message.
Does Base64 protect the text?
No; Base64 is only a transport encoding for the binary envelope fields.
Can I edit the encrypted output?
Changes can invalidate the format or authentication tag and prevent decryption.
Does encryption hide message length?
No; output size reveals approximate plaintext length and the envelope is not an anonymity system.
Published by LogMeOnce. Last updated November 27, 2026.
