Encrypt text
Encrypt a message or note with a passphrase (AES-256-GCM) and decrypt it again, entirely in your browser.
Questions
What exactly does it do?
A 256 bit key is derived from your passphrase (UTF-8 after Unicode NFC normalisation) with PBKDF2-HMAC-SHA-256 at 600,000 iterations and a random 16 byte salt, or with Argon2id (64 MiB memory, 3 passes, 1 lane) if you choose it. The text is encrypted with AES-256-GCM using a random 12 byte IV and a 128 bit tag. The 32 byte header is authenticated too.
What is in the encrypted text?
It is base64 of: the 4 bytes FNEC, a version byte (1), a kind byte (1 for text), the key derivation id and its settings, the salt, the IV, then the ciphertext and tag. Because the settings travel with the data, the decrypt side needs only the passphrase.
What if I forget the passphrase?
The text cannot be recovered. There is no reset and no copy of your passphrase anywhere: everything happens on this page and nothing is sent to a server.
How strong a passphrase do I need?
The key derivation only slows guessing down; a short or common passphrase can still be guessed. Use at least five random words, for example from the HelpyTools passphrase generator.