Time capsule

Lock a message to the future. Timelock encryption using public randomness from the drand network – your secrets stay local and only unlock once the network reaches your chosen time.

With a password, the capsule opens only after the unlock time and only with the password. A quantum computer that breaks the time lock would still have to guess it. If you lose it, nobody can recover the message.

Advanced timing details
Local time:
-

How it works

What it does

Time capsule locks a message until a moment you choose. Before that time nobody can open it: not the recipient, not you and not encrypt.click. Afterwards, anyone with the capsule can. It suits sealed predictions, delayed reveals, contest answers or a letter to your future self.

drand and the League of Entropy

The lock is opened by drand, a public randomness beacon that grew out of research at the Swiss university EPFL. Since 2019 it has been run by the League of Entropy, a group of independent organisations that agreed to operate it together. Founders included Cloudflare, Protocol Labs, Kudelski Security, the University of Chile and EPFL, and today the network includes the Ethereum Foundation, University College London and more than a dozen others. Every 3 seconds the members jointly produce a threshold BLS signature for the next round number. No single member, and no small group of them, can create it alone or ahead of time.

How the lock works

Your chosen time is converted to a future drand round. The message is encrypted in your browser with tlock, a scheme published by drand researchers in 2023: identity-based encryption on the BLS12-381 curve, where the round number is the identity and the beacon's future signature for that round is the only key that opens it. Inside, the message is packed in the age format and sealed with ChaCha20-Poly1305. Encrypting needs nothing secret from anyone; decrypting needs the signature, which does not exist until the round arrives.

A short history of timelocks

Ron Rivest, Adi Shamir and David Wagner proposed time-lock puzzles in 1996: problems that take a known amount of sequential computing to solve. Rivest's LCS35 puzzle, set at MIT in 1999 and expected to take 35 years, was cracked in 2019 by the Belgian programmer Bernard Fabrot after three and a half years of computing on a home PC. Puzzles like that depend on how fast computers get. tlock depends on a clock run by many organisations instead, so the unlock time is accurate to a few seconds.

Good to know

A password is optional. Without one, anyone with the capsule can read it after the unlock time; with one, they also need that password, which nobody can recover for you. The unlock time itself is visible inside the capsule. Your browser reaches drand through encrypt.click's server, which forwards requests to api.drand.sh. It sees which round is requested, never your message, and your browser checks every beacon's signature, so the server cannot fake one. If drand shut down before your round, the capsule could never be opened. Opening early would require a large share of the League's members to collude. The time lock is not resistant to future quantum computers: one could open a capsule early, unless it also has a password, which Argon2id and AES-256 protect as long as it is strong.