Text Encryption with a Password
Encrypt text with a passphrase using AES-256-GCM, and decrypt it again. It uses the Web Crypto API of the browser.
Runs on your device.
0 characters0 bytes
0 characters0 bytes
AES-256-GCM, with the key from PBKDF2-SHA256 and 600,000 iterations. If you forget the passphrase, there is no way to get the text back.
How to Use It
- Choose Encrypt or Decrypt.
- Enter the passphrase.
- Paste the text and copy the output.
Questions and Answers
What is the output format?
Base64 of these bytes: one version byte (1), a 16-byte salt, a 12-byte IV, then the ciphertext and the 16-byte GCM tag. The key comes from PBKDF2-SHA256 with 600,000 iterations and a 256-bit length.
Good to Know
It decrypts only text that this tool encrypted. The strength depends on the passphrase: a short or common one can be guessed.