Everyone has tried to explain encryption to a friend and watched their eyes glaze over at the word algorithm. The idea is not complicated, though. It only sounds complicated, because it is usually described in vocabulary instead of shown in action. Give someone five minutes and a real example, and the core ideas land on their own: a passphrase turns readable text into unreadable text, the wrong passphrase gets nothing, and the same message never encrypts the same way twice.
This guide is a script for that demo, using the free Encryption Playground on Ovatly. Your friend picks the note, you both watch what happens, and nobody has to define a single technical term before seeing it work.
Contents
- Quick answer
- Before you start: what the tool is doing under the surface
- The demo, step by step
- The moment that teaches the most: the wrong passphrase
- Encrypt the same note again and compare
- Worked example: the depot note
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
Open the Encryption Playground, let your friend choose a short note, and encrypt it with a passphrase you agree on together. Show them the OVAT1. string, decrypt it with the correct passphrase so the note comes back, then try a wrong passphrase and watch it fail with could-not-decrypt. Encrypt the same note a second time and compare the strings: completely different, because a fresh salt and IV are generated every time. Close by saying plainly that this is a learning tool, and real secrets belong in a password manager.
Before you start: what the tool is doing under the surface
You do not need to lecture on this, but it helps to have one sentence ready when your friend asks what just happened. The tool derives an AES-GCM key from the passphrase using PBKDF2-HMAC-SHA-256 with 210,000 iterations, then encrypts the text with a fresh random salt and a fresh random IV. The output string, starting with OVAT1., packages the version byte, the salt, the IV and the ciphertext together in Base64, so one copyable string carries everything decryption needs except the passphrase itself.
That is the whole mechanism. Everything in the demo is one of those facts becoming visible.
The demo, step by step
- Open the Encryption Playground and stay on the Encrypt tab. Ask your friend to choose a short note: a sentence, a plan, anything they invent on the spot. Their text, their demo.
- Agree on a passphrase together and type it in. Something simple is fine here, because the lesson comes next.
- Click Encrypt. An OVAT1. string appears. Point out the obvious: nothing in it resembles the note. No words, no letter patterns, nothing to guess from.
- Copy the string, switch to the Decrypt tab, paste it, enter the same passphrase and click Decrypt. The note comes back exactly as written. That round trip, readable to unreadable to readable, is encryption in one gesture.
- Now do the two experiments below, which teach more than the round trip does.
The moment that teaches the most: the wrong passphrase
Stay on the Decrypt tab, keep the same string pasted, and change one character of the passphrase. Click Decrypt. The tool answers could-not-decrypt, and shows nothing at all.
This is the moment to pause, because it corrects the most common misconception: a wrong passphrase does not produce a slightly wrong message, or the message with errors. It produces nothing. AES-GCM checks an authentication tag before releasing any plaintext, and a key derived from the wrong passphrase fails that check immediately. Close is not a category encryption recognises. Your friend now understands why a forgotten passphrase is serious, without hearing a single warning about it.
Encrypt the same note again and compare
Go back to the Encrypt tab, type the identical note, use the identical passphrase, and encrypt again. The new OVAT1. string is completely different from the first one. Paste either string into the Decrypt tab and both open with the same passphrase.
The explanation is one line: every encryption draws a fresh random salt and a fresh random IV, so the output changes even when nothing else does. This is why real encrypted traffic does not leak whether the same message was sent twice, and it is the detail most explanations skip entirely. Seeing two different strings side by side makes it stick.
Worked example: the depot note
The tool's own example uses the note "Meet at the old depot at 9" with the passphrase "library card", and produced this string:
OVAT1.AY2T35LSmwcqthg/FH3lhifhB29/Ni7STzQzPHDt3yhv5oZBPZGgi2TiokVf9rEH8Xv7qb3j7jgB40e+fhDRKa6qfyllxLc=
Use it as your rehearsal before showing a friend. Decrypt it with "library card" and the note appears. Try "library cards" and you get could-not-decrypt. Encrypt the depot note yourself and your string will differ from the one above, which is precisely the salt and IV lesson, demonstrated with a published example instead of a claim.
Limitations and honest tradeoffs
Say the honest part out loud at the end of the demo, because it is part of the lesson. This is a learning tool. It is not safe for banking passwords or real secrets, and its OVAT1. format is its own, not a standard like PGP or age, so only this tool opens these strings. A weak passphrase is still weak: the 210,000 PBKDF2 iterations make offline guessing expensive, but a guessable passphrase gets guessed. And there is no recovery, so a forgotten passphrase means permanently unreadable text. Real secrets belong in an audited password manager or dedicated encryption software.
Common mistakes
- Explaining first, showing later. The vocabulary only makes sense after the demo. Encrypt first, name things as they appear.
- Choosing the note yourself. A note your friend invents is one they care about watching disappear and return. Use theirs.
- Skipping the wrong passphrase. The round trip shows that encryption works. The failure shows what it guarantees. Do not rush past it.
- Presenting the demo tool as a vault. If your friend leaves thinking they should encrypt real secrets here, the demo taught the wrong lesson. End with the password manager line.
- Apologising for the maths. Nobody needs the maths for this demo. The behaviour is the explanation.
FAQs
Why does the encrypted string change when we encrypt the same note again? Because every encryption generates a fresh random salt and a fresh random IV. Both are stored inside the OVAT1. string next to the ciphertext, so the second string looks completely different from the first, yet the same passphrase decrypts both.
What does could-not-decrypt actually mean? It means the passphrase was wrong. Decryption checks an authentication tag before showing anything, and a key derived from the wrong passphrase fails that check, so the tool reports could-not-decrypt instead of showing garbled text.
Can my friend open the note later without the passphrase? No. There is no recovery and no back door. The key is derived from the passphrase itself, so without it the text is permanently unreadable, which is the point of encryption rather than a flaw in the tool.
Can I open an OVAT1. string in a different encryption app? No. OVAT1. is this tool's own format, not a standard like PGP or age, so only the Encryption Playground opens these strings. That is fine for a demonstration and another reason real secrets need dedicated software.
Should we use this tool for real secrets after the demo? No. The Encryption Playground is a learning tool and is not safe for banking passwords or anything important. Real secrets belong in an audited password manager or dedicated encryption software.
Conclusion
Five minutes, one borrowed note and two small experiments teach encryption better than any definition: the right passphrase opens the text, the wrong one gets could-not-decrypt, and the same note never encrypts identically twice. The Encryption Playground keeps the demo honest by being a learning tool and saying so. If your friend wants to know where beginners go wrong when they try this for real, send them to our guide on encryption mistakes beginners make. For more guides in this series, see our Security and Privacy Utilities guides.
References
- OWASP Password Storage Cheat Sheet, on PBKDF2 iteration counts and key derivation: https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html
- MDN Web Docs, on the Web Crypto API and AES-GCM: https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API