Crates.io | verenc |
lib.rs | verenc |
version | 0.2.0 |
source | src |
created_at | 2021-10-05 16:28:33.239737 |
updated_at | 2021-10-05 16:39:03.940005 |
description | An implementation of Camenisch Shoup verifiable encryption and decryption of discrete logs |
homepage | |
repository | https://github.com/mikelodder7/verifiable-encryption |
max_upload_size | |
id | 460714 |
size | 47,485 |
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.
Licensed under either of:
at your option.
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.