Skip to content
Ovatly

Encryption Playground (AES-GCM)

100% PrivateSecurity & Privacy Utilities

Encrypt short text with a passphrase using AES-GCM, and decrypt it back the same way.

Runs entirely in your browser. Your input is not uploaded to Ovatly or anywhere else.

The format, in the open

Output starts with OVAT1. followed by Base64 of: a 1-byte version, a random 16-byte salt, a random 12-byte IV, then the AES-GCM ciphertext (256-bit key, 128-bit authentication tag). The key is derived from your passphrase with PBKDF2-HMAC-SHA-256 at 210,000 iterations. A wrong passphrase fails the GCM tag check, which is why you get a plain could-not-decrypt message instead of garbled text.

  1. 1Type the text and a passphrase on the Encrypt tab, then press Encrypt.
  2. 2Copy the OVAT1. text; that single string carries the salt, IV and ciphertext together.
  3. 3Switch to Decrypt, paste the string, enter the same passphrase.
  4. 4Press Decrypt to get your text back, or try a wrong passphrase to see the failure message.

About this tool

The Encryption Playground encrypts short text with AES-GCM, the authenticated encryption built into your browser, using a key derived from your passphrase with PBKDF2. It exists so you can see real encryption happen end to end, with every parameter shown, before trusting the idea anywhere that matters.

Related tools

Advertisement

Part of Ovatly's free tools in Security & Privacy Utilities.