Skip to content

tangle-network/silent-timelock-encryption-blueprint

Repository files navigation

Silent Time-lock Encryption Blueprint 🔐

A decentralized threshold encryption service built on Tangle Network that enables secure time-locked data encryption and decryption. It uses the silent threshold ecnryption research paper Silent Threshold Encryption ePrint:2024/263 by Sanjam Garg, Dimitris Kolonelos, and Mingyuan Wang.

The innovative aspect of Silent Threshold Encryption is that it allows for threshold decryption services without any interactive setup. The scheme can be used to create timelock encryption as well, which is useful for a variety of use cases such as random number generation, verifiable delay functions, and more.

🎯 Overview

This Blueprint implements a threshold encryption service where:

  • Multiple operators collectively manage encrypted data
  • Users can encrypt data that requires a threshold of operators to decrypt
  • Decryption requests are processed through secure multi-party computation
  • Built using BN254 elliptic curve cryptography and silent threshold encryption

🚀 Features

  • Threshold Decryption: Requires t-of-n operators to collaborate for decryption
  • Secure Key Management: Each operator maintains their own secret key
  • On-chain Coordination: Decryption requests and operator registration handled via smart contracts
  • Asynchronous Protocol: Uses Tokio for efficient async communication between operators
  • Robust Error Handling: Comprehensive error management for cryptographic operations

📋 Prerequisites

🛠️ Setup

  1. Install the Tangle CLI:
cargo install cargo-tangle --git https://github.com/tangle-network/gadget.git --force
  1. Create a new project:
cargo tangle blueprint create --name silent-timelock

🔒 Security

  • Uses BN254 elliptic curve for efficient pairing-based cryptography
  • Implements secure multi-party computation for threshold decryption

📚 Documentation

For detailed documentation on the cryptographic protocols and service architecture, please visit: Tangle Documentation

📄 License

Licensed under either:

🤝 Contributing

Contributions welcome! Please feel free to submit a Pull Request.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •