Encrypted text looks like noise, which makes it hard to feel how it behaves. Does a small change to a message produce a small change in the output? If someone alters one character of the ciphertext, do you get back damaged text, or nothing at all? Guessing is easy and usually wrong. Running the experiment takes about a minute and settles both questions.

This guide walks through three runs with the free Encryption Playground on Ovatly, using its published example so you can compare your screen against real output. The playground is a learning tool, and the experiment is what it is for: seeing the mechanics, not protecting anything real.

Contents

  • Quick answer
  • The setup: one note, one passphrase
  • Run one: encrypt the note as written
  • Run two: change one letter and encrypt again
  • Run three: damage the ciphertext and try to decrypt
  • What the three runs prove
  • How to run the experiment, step by step
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

Change one letter of a note before encrypting and the output is a wholly different string: encryption scrambles the whole result, so near-identical inputs give unrelated outputs. Change one character of the encrypted string itself and decryption fails entirely: the Encryption Playground answers could-not-decrypt rather than returning damaged text, because AES-GCM checks an authentication tag before releasing anything. Both behaviours are deliberate, and this experiment shows each directly.

The setup: one note, one passphrase

The experiment uses the playground's own example throughout: the note "Meet at the old depot at 9" and the passphrase "library card". The tool encrypts short text with AES-GCM, using a key derived from the passphrase with PBKDF2 at 210,000 iterations. Each result is a string beginning with OVAT1. that carries the salt, the IV and the ciphertext, so one copied string is all decryption needs besides the passphrase.

Keep the passphrase identical across all three runs.

Run one: encrypt the note as written

Encrypt the note exactly as written and the playground produces this string:

OVAT1.AY2T35LSmwcqthg/FH3lhifhB29/Ni7STzQzPHDt3yhv5oZBPZGgi2TiokVf9rEH8Xv7qb3j7jgB40e+fhDRKa6qfyllxLc=

Save it for comparison. Paste it into the Decrypt tab with the passphrase "library card" and the note comes back word for word: the control result the next two runs are measured against.

Run two: change one letter and encrypt again

Now change exactly one letter of the note: "Meet at the old depot at 9" becomes "Meet at the old depot at 8". Encrypt with the same passphrase and compare the new string with run one's.

They share the OVAT1. prefix and nothing else worth noticing. The body of the second string is not the first string with a character or two altered; it is a different scramble from end to end. This is the avalanche effect: encryption is built so that flipping the smallest possible piece of input changes the output everywhere. It is also why the same note encrypted twice gives different strings with no letter changed at all: a fresh salt and IV are generated every run, so outputs never match while the passphrase still decrypts each.

The consequence matters more than the name. Nobody comparing two encrypted strings can tell whether the underlying notes were identical, one letter apart, or entirely unrelated. The ciphertext leaks nothing about closeness.

Run three: damage the ciphertext and try to decrypt

Take the run one string and change a single character in its body: swap one letter in the middle for a different one, leaving length and prefix untouched. Paste the damaged string into the Decrypt tab and enter the correct passphrase.

The tool answers could-not-decrypt. It does not return the note with one letter wrong, and it does not return partial text. AES-GCM attaches an authentication tag to the ciphertext, a check value computed over the encrypted data. Altering any character invalidates that check, and decryption stops before a single character of plaintext is released. A wrong passphrase fails the same way with the same message, so the tool never reveals whether the passphrase or the ciphertext was the problem.

That all-or-nothing behaviour is the point. Tampered, truncated or corrupted data announces itself by failing, instead of quietly decrypting into something subtly wrong that you might trust.

What the three runs prove

Run one shows the round trip works when nothing changes. Run two shows the output hides the input's shape: one letter of difference in the note becomes total difference in the string, so ciphertext cannot be compared for similarity. Run three shows the integrity check working: one character of damage in the string becomes total failure, so altered data cannot slip through as readable text. The noise is not decoration; it is what hides relationships between messages, and the hard failure on tampering is what makes a successful decryption trustworthy.

How to run the experiment, step by step

  1. Open the Encryption Playground, type "Meet at the old depot at 9" on the Encrypt tab, and set the passphrase to "library card".
  2. Encrypt and copy the OVAT1. string. Check it against the run one output above, then decrypt it once to confirm the round trip.
  3. Change the final 9 to an 8, encrypt again with the same passphrase, and compare the two strings side by side.
  4. Return to the first string, change one character in its middle, and decrypt the damaged version with the correct passphrase.
  5. Optionally, decrypt the undamaged string with a wrong passphrase: the message is identical, the tool does not distinguish the failures.

Limitations and honest tradeoffs

This is a learning tool, and the experiment is a demonstration, not protection. The OVAT1. format is the tool's own layout, not a standard like PGP or age, so its strings open only here. It is not safe for banking passwords or real secrets; audited software is the right home for them.

There is no recovery. Forget the passphrase and the text is permanently unreadable, because the tool never sees or stores it. A weak passphrase also stays weak: anyone holding the string can guess passphrases offline, and PBKDF2 slows each guess without making a guessable one strong. The published example passphrase "library card" is safe to print precisely because it protects nothing.

The authentication check proves the ciphertext matches the passphrase and was not altered. It says nothing about who encrypted it, because anyone with the passphrase can encrypt. Symmetric encryption authenticates the secret, not a person.

Common mistakes

  • Expecting similar inputs to give similar outputs. They never do. A one-letter change scrambles the whole string, which is the design working, not a fault.
  • Reading could-not-decrypt as "wrong passphrase". Damaged, truncated or altered ciphertext fails identically. Check the string is complete and untouched before blaming the passphrase.
  • Editing a stored ciphertext. Shortening it, letting a chat app rewrap it, or losing characters at either end all count as damage. Store the string exactly as produced.
  • Assuming a successful decryption proves who sent it. It proves the sender held the passphrase. Everyone with the passphrase is indistinguishable to the tool.
  • Practising on real secrets. Run experiments on throwaway notes like the depot example. Real secrets belong in audited tools, not in a playground.

FAQs

What happens if I change one letter before encrypting? The new encrypted string is completely different from the first, not similar with one character changed. Encryption is designed so that a tiny input change scrambles the whole output, an effect called the avalanche effect. Comparing the two strings tells you nothing about how close the two notes were.

What happens if I change one character of the encrypted string itself? Decryption fails. The playground uses AES-GCM, which carries an authentication tag, and the tag no longer matches the altered ciphertext. The tool answers could-not-decrypt instead of returning damaged or partial text.

Why does the same note encrypt differently every time? Each run generates a fresh salt and a fresh IV, and both travel inside the OVAT1. string alongside the ciphertext. The passphrase stays the same and still decrypts every version, but the outputs differ, which stops an observer from spotting that two messages are identical.

Does could-not-decrypt mean my passphrase was wrong? It means decryption failed, and a wrong passphrase is only one cause. A changed, truncated or corrupted ciphertext fails the same way, and the tool deliberately gives one message for every failure so it never reveals which part went wrong.

Can I use the Encryption Playground for real secrets? No. It is a learning tool. Its OVAT1. format is its own layout, not a standard like PGP or age, there is no recovery if you forget the passphrase, and it is not safe for banking passwords or anything you cannot afford to lose.

Conclusion

One letter changed in the note, and the encrypted string became unrecognisable; one character changed in the string, and decryption refused outright. Those two results are modern encryption in miniature: outputs hide inputs, and tampering is caught before any text is released. Run the three steps yourself in the Encryption Playground to see both effects with your own text, and read Symmetric vs Asymmetric Encryption: Which One You Use Daily for where this symmetric model fits beside the key-pair kind. For more guides in this series, see our Security and Privacy Utilities guides.

References