How to Hide Easter Eggs With Zero-Knowledge Proofs

Easter is a time for family, friends, and, of course, Easter eggs! And hiding Easter eggs can be a lot of work, especially if you have a lot of eggs. That’s where zero-knowledge proofs come in!

No alt text provided for this image
Midjourney: Vividly colorful easter egg covered with math equations for zero knowledge –v 5

Zero-knowledge proofs are a type of cryptographic technique that allows one party to prove to another party that they know a secret without revealing the secret itself. This can be useful for a variety of applications, including hiding Easter eggs.

The Game

Here’s how it works:

  1. The parent hides a certain number of Easter eggs for each child.
  2. The child asks the parent how many eggs are hidden.
  3. The parent uses a zero-knowledge proof to prove to the child that they know the number of eggs, without revealing the actual number.
  4. The child is satisfied that the parent knows the number of eggs, and they can start hunting!

The Hunt

Here’s an example of a zero-knowledge proof that a parent could use to prove to their child that they know the number of eggs:

  1. The parent chooses a random number between 1 and 18 (assuming your using the big cartons, <insert joke about price of eggs…>) .
  2. The parent DOES NOT tells the child the random number.
  3. The parent then marks & hides an egg for each number from 1 to 18, except for the random number.
  4. The children then race to collect all of the eggs!
  5. After some time, when the child is “done”, the parent asks the child to guess the random number.
  6. If the child guesses the random number, the parent can reveal how many eggs are really hidden (If you don’t want to leave them for yourself) .
  7. If the child does not guess the random number, the parent does not reveal which eggs are remain and the hunt continues!.

More Fun!

This is just one example of how zero-knowledge proofs can be used to hide Easter eggs. There are many other ways to use this technique, so get creative and have fun!

No alt text provided for this image
MJ: Duble exposure of a rabbit with zebra stripes and a field with hidden easter eggs –v 5

Here are some additional tips for hiding Easter eggs with zero-knowledge proofs:

  • Use a variety of hiding places. The more places you hide the eggs, the harder it will be for the child to find them all.
  • Make it challenging. The child should have to work for their chocolate!
  • Have fun! Easter is a time for family and friends to come together and enjoy each other’s company. So relax, have fun, and enjoy the Easter egg hunt!