🌍 Live Demo: https://tlock.fl0w.ru/
- 🌐 Simple and intuitive web interface
- 🔐 Time-lock encryption powered by the official
tlockimplementation - 🐳 Docker-first deployment
- 📦 No Go or Python installation required
- ⏳ Duration-based encryption (
-D) - 🔢 Round-based encryption (
-r) - 🚀 Uses the official
tlockbinary from GitHub Releases - 📁 Encrypt and decrypt files directly from your browser
tlock-web is a lightweight web frontend for the tlock command-line utility.
Time-lock encryption allows you to encrypt data today and make it decryptable only after a specified future time. The decryption capability is derived from the public randomness generated by the drand network, meaning no one can access the data before the chosen unlock time.
With tlock-web you can:
- Upload a file
- Select a future unlock time
- Encrypt the file
- Download the generated
.tlearchive - Decrypt it later when the target time arrives
Try it instantly without installing anything:
Public demonstration instance. Avoid uploading sensitive or confidential files.
git clone https://github.com/larin-ilya/tlock-web.git
cd tlock-webdocker build -t tlock-web .docker run -d \
--name tlock-web \
-p 49381:49381 \
tlock-webhttp://localhost:49381
-
Upload a file
-
Choose encryption mode:
- Duration (
10s,5m,1h,24h, etc.) - Specific drand round
- Duration (
-
Click Encrypt
-
Download the generated
.tlefile
- Wait until the unlock time has passed
- Upload the
.tlefile - Click Decrypt
- Download the original file
| Variable | Default | Description |
|---|---|---|
PORT |
49381 |
Web server port |
MAX_FILE_SIZE |
100MB |
Maximum upload file size |
docker run -d \
--name tlock-web \
-p 8080:8080 \
-e PORT=8080 \
-e MAX_FILE_SIZE=500MB \
tlock-webtlock uses the drand threshold network as a source of publicly verifiable randomness.
When a file is encrypted:
- The ciphertext is locked to a future drand round
- No secret key needs to be exchanged
- Nobody can decrypt the file before the target time
- Decryption becomes possible automatically once the corresponding randomness beacon is published
This makes time-lock encryption ideal for delayed disclosure, scheduled releases, sealed bids, backups, and other use cases where information must remain inaccessible until a predefined moment.
- Official tlock project: https://github.com/drand/tlock
- Drand network: https://drand.love
- Live Demo: https://tlock.fl0w.ru/
52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971
Licensed under the MIT License.
See the LICENSE file for details.
