hyperledger-labs / agora-verifiable-encryption

Verifiable Encryption and Decryption of Discrete Logarithms based on Camenisch Shoup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Verifiable Encryption

Crates.io Documentation License-Image minimum rustc 1.50 dependency status

An implementation of Verifiable Encryption and Decryption of Discrete Logarithms based on Camenisch Shoup.

The scheme uses the Paillier cryptosystem P99.

This crate uses the unknown-order crate which allows switching the underlying big number implementation based on license preferences and performance. As such, this crate reexports unknown_order so consumers of this crate do not have to have a separate dependency.

This implementation has not been reviewed or audited. Use at your own risk.

Efforts have been made to mitigate some side channel attacks but ultimately there are many factors involved. For a good read, see Thomas Pornin's Why Constant-Time Crypto article.

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

This crate is part of the Hyperledger Labs Agora Project

About

Verifiable Encryption and Decryption of Discrete Logarithms based on Camenisch Shoup

License:Apache License 2.0


Languages

Language:Rust 100.0%