CRYPTO LAB

A small game about sharing a secret

Secret Council.

Save the city’s seed vault.

Keep its secret from thieves. Bring enough keepers back to open it at dawn.

You’ll learn: how splitting a secret can resist theft and still survive missing shares.

MAKE YOUR PLAN1reserves
Your city · five distinct sharesMoves are free before dusk

Click a keeper, then a house to move them. Each house has room for three.

The seed vault

Waiting for your plan

Your mission needs both secrecy and recovery.

Thieves’ distinct shares0 / 3 needed
Keepers who can arrive5 / 3 needed

Your first decision

How many keepers should it take?

Two is easy to gather. Five needs everyone. What will survive this forecast?

Inspect the actual shares and night log

Begin the night to generate five shares using Shamir’s method.

Generated example · arithmetic modulo 17
KeeperShare (x, y)Thief copied?Can arrive?

    Why this is cryptography

    A secret you can lose a share of.
    Without losing the secret.

    Shamir secret sharing turns a secret into mathematical shares. Any group meeting the threshold can reconstruct it. Fewer shares reveal no information about its value when the sharing is correctly randomized.

    This can help protect a backup encryption key: some copies of shares can be lost or stolen without losing recovery or revealing the key. Your threshold and where you keep the shares determine which losses you can tolerate.

    Explore why fewer shares leave every secret possible →