Silent Threshold Encryption ePrint:2024/263
Rust implementation of the silent-threshold encryption introduced in ePrint:2024/263.
Use cargo bench
to benchmark setup
, encryption
, and decryption
.
Use cargo run --example endtoend
to check correctness of the implementation.
WARNING: This is an academic proof-of-concept prototype, and in particular has not received careful code review. This implementation is NOT ready for production use.
src/setup
: Contains an implementation for sampling public key pairs and aggregating keys of a chosen committee. Also contains thepartial_decryption
method which is essentially a BLS signature. Note that theget_pk
method runs in quadratic time. This can be reduced to linear time by preprocessing commitments to lagrange polynomials.src/encryption
: Contains an implementation of theencrypt
method for the silent threshold encryption scheme.src/decryption
: Contains an implementation ofagg_dec
which gathers partial decryptions and recovers the message.
This library is released under the MIT License.