Most people who encrypt something do the obvious part right: they pick a tool that uses a respected algorithm, in this case AES-GCM, and they assume the job is done. Then the mistakes creep in around the edges. They encrypt two messages with the same settings and wonder why the outputs look related. They choose a passphrase they can remember easily and trust the algorithm to make it strong. They save the encrypted string and the passphrase nowhere at all.

None of those mistakes are about the cipher. They are about keys, IVs and passphrases, the three things the person, not the algorithm, controls. This guide walks through each one using the free Encryption Playground on Ovatly, a small tool that encrypts short text with AES-GCM and is deliberately built so these beginner mistakes cannot happen inside it.

Contents

  • Quick answer
  • What the playground does automatically, and why
  • Mistake 1: reusing an IV under the same key
  • Mistake 2: a weak passphrase the algorithm cannot save
  • Mistake 3: treating the passphrase as safe to lose
  • How to encrypt a short message, step by step
  • Worked example: one note, two different strings
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

The three beginner mistakes are reusing an IV under the same key, picking a weak passphrase and expecting the algorithm to fix it, and losing the passphrase while keeping the encrypted text. The Encryption Playground removes the first by generating a fresh random salt and IV for every encryption, softens the second by deriving the key with PBKDF2-HMAC-SHA-256 at 210,000 iterations, and makes the third impossible to undo on purpose: there is no recovery, so a forgotten passphrase means permanently unreadable text.

What the playground does automatically, and why

When you encrypt a note, the tool derives an AES-GCM key from your passphrase using PBKDF2 with 210,000 iterations, following current OWASP guidance. It then generates a fresh 16-byte salt and a fresh 12-byte IV for that one encryption. The output is a single string starting with OVAT1. that packages everything together in Base64: a version byte, the salt, the IV, then the ciphertext.

That packaging matters. Because the salt and IV travel with the ciphertext, you never handle them yourself, never choose them, and never get the chance to reuse them. The design takes those mistakes off the table by refusing to expose the settings that cause them.

Mistake 1: reusing an IV under the same key

An IV, or initialization vector, is a random value mixed into an encryption so that identical inputs produce different outputs. AES-GCM depends on one rule above all: under a given key, an IV must never repeat. Encrypt two different messages with the same key and the same IV, and the relationship between the two ciphertexts starts leaking information about the plaintexts. Encrypt the same message twice and you get the same ciphertext, which tells anyone watching that the message repeated.

Beginners reuse IVs because the IV looks like a harmless setting, something to set once and forget. In the playground there is nothing to set. Every encryption draws a fresh random IV, so encrypting the same note twice produces two completely different OVAT1. strings, and both decrypt correctly with the same passphrase.

Mistake 2: a weak passphrase the algorithm cannot save

Encryption strength is capped by the passphrase. The key is derived from the passphrase, so an attacker who obtains your encrypted string does not attack AES-GCM directly. They attack the passphrase, offline, at their own pace, trying candidate after candidate.

PBKDF2 exists to make that expensive: 210,000 iterations of hashing means every single guess costs real computation. That slows an attacker down enormously. It does not change the order in which guesses are tried. A passphrase like a pet's name, a birthday or a favourite team is near the front of every guessing list, and no iteration count rescues a passphrase that gets tried in the first few thousand attempts. The algorithm protects a good passphrase well. It cannot make a weak one strong.

Mistake 3: treating the passphrase as safe to lose

The third mistake is quieter: saving the encrypted string in three places and the passphrase in none, on the assumption that some recovery option must exist. In this tool, none does. The key exists only as a derivation of the passphrase, and Ovatly never sees your passphrase or your text, so there is nothing stored anywhere to recover from.

That is not a missing feature. It is what encryption means. If a service could hand your passphrase back, anyone who breached that service could read everything you encrypted. No recovery is the honest design, and it puts the responsibility where it belongs: the passphrase gets stored with the same care as the secret it protects, ideally in a password manager.

How to encrypt a short message, step by step

  1. Open the Encryption Playground and stay on the Encrypt tab.
  2. Type or paste the short text you want to encrypt.
  3. Enter a passphrase. Choose one you can store safely, not one you plan to reconstruct from memory months later.
  4. Click Encrypt and copy the OVAT1. string it produces. That single string carries the salt, the IV and the ciphertext together.
  5. To read it back, switch to the Decrypt tab, paste the string, enter the same passphrase and click Decrypt. Any other passphrase returns could-not-decrypt, because the AES-GCM authentication tag check fails before any plaintext is shown.

Worked example: one note, two different strings

Encrypting the note "Meet at the old depot at 9" with the passphrase "library card" produced this string in the tool's own example:

OVAT1.AY2T35LSmwcqthg/FH3lhifhB29/Ni7STzQzPHDt3yhv5oZBPZGgi2TiokVf9rEH8Xv7qb3j7jgB40e+fhDRKa6qfyllxLc=

Run the exact same note through again with the exact same passphrase and the output is a different string, because a fresh salt and IV were drawn for the second run. Paste either string into the Decrypt tab with "library card" and the note comes back. Change one character of the passphrase and both return could-not-decrypt. That contrast is the whole lesson of this guide in a single experiment.

Limitations and honest tradeoffs

This is a learning tool, not a vault. It is not safe for banking passwords or anything you cannot afford to lose, and the page says so. OVAT1. is the tool's own format, not a standard like PGP or age, so only this tool opens these strings; anything you encrypt here is readable only here. The 210,000 PBKDF2 iterations raise the cost of guessing but cannot fix a weak passphrase, and the no-recovery design means a forgotten passphrase is final. For real secrets, use an audited password manager or dedicated encryption software.

Common mistakes

  • Reusing an IV under the same key. The fastest way to leak structure from your ciphertext. Let the tool generate a fresh IV every time.
  • Choosing a passphrase from your own life. Names, dates and teams are guessed early. Length and randomness beat personal meaning.
  • Trusting the iteration count to save a weak passphrase. PBKDF2 slows guessing; it does not reorder the guessing list.
  • Keeping the ciphertext and losing the passphrase. No recovery exists, by design. Store the passphrase in a password manager.
  • Using a learning tool for real secrets. Banking passwords and identity documents belong in audited, dedicated software.

FAQs

Why does the same text produce a different encrypted string every time? Because the tool generates a fresh random salt and a fresh random IV for every encryption. Both travel inside the OVAT1. string alongside the ciphertext, so the output differs each time while the correct passphrase can still decrypt any of the versions.

What happens if I forget the passphrase? The text is permanently unreadable. There is no recovery, no reset and no back door, because the key is derived from the passphrase itself. Ovatly never sees your passphrase or your text, so there is nothing to recover it from.

Can I open an OVAT1. string in another encryption app? No. OVAT1. is this tool's own documented layout, not a standard like PGP or age. Only the Encryption Playground opens OVAT1. strings, which is one reason real secrets belong in dedicated encryption software instead.

Does a high iteration count make a weak passphrase safe? No. The 210,000 PBKDF2 iterations make each guess slower and more expensive, which raises the cost of offline guessing. A common or predictable passphrase is still guessed eventually, because the attacker can try the obvious candidates first.

Is the Encryption Playground safe for banking passwords or other real secrets? No. It is a learning tool for understanding how encryption behaves. For real secrets, use an audited password manager or dedicated encryption software that is maintained and reviewed for that job.

Conclusion

Beginners rarely fail at the cipher. They fail at the IV they reused, the passphrase they could guess themselves, and the recovery option they assumed existed. The Encryption Playground is built to make each of those visible and avoidable. Once the mechanics feel concrete, the natural next step is watching them happen live, which is exactly what our companion guide on showing a non-technical friend what encryption does walks through. For more guides in this series, see our Security and Privacy Utilities guides.

References