verenc

Crates.ioverenc
lib.rsverenc
version0.2.0
sourcesrc
created_at2021-10-05 16:28:33.239737
updated_at2021-10-05 16:39:03.940005
descriptionAn implementation of Camenisch Shoup verifiable encryption and decryption of discrete logs
homepage
repositoryhttps://github.com/mikelodder7/verifiable-encryption
max_upload_size
id460714
size47,485
Michael Lodder (mikelodder7)

documentation

https://docs.rs/verenc

README

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.

Commit count: 6

cargo fmt