Skip to content

driftcell/timelock-encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timelock Encryption Server

This is part of my encryption/decryption course project. It is a simple idea of a timed lock encryption. The encrypted data and the AES key are distributed across multiple servers, and the data can be decrypted once the set time is reached or exceeded.

Usage

Start a server at port 8002, and wating for client to transform packet.

cargo run -- server -p <PORT>

Timelock Encryption Client

Encrypt

cargo run -- client encrypt -i <INPUT_FILE_NAME> -s <IP:PORT> -s <IP:PORT> -p <YOUR_PASSWORD>

Decrypt

cargo run -- client decrypt -i <INPUT_FILE_NAME> -s <IP:PORT> -s <IP:PORT>

About

This is a Timelock Encryption based server/client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages