rust-paillier icon indicating copy to clipboard operation
rust-paillier copied to clipboard

A pure-Rust implementation of the Paillier encryption scheme

Results 10 rust-paillier issues
Sort by recently updated
recently updated
newest added

``` $cargo check warning: An explicit [[bench]] section is specified in Cargo.toml which currently disables Cargo from automatically inferring other benchmark targets. This inference behavior will change in the Rust...

`$cargo build --release --no-default-features --features "inclnum defaultnum"` For the above build command the following error is given. Here is the cargo version ``` cargo 1.48.0 (65cbdd2dc 2020-10-14) rustc 1.48.0 (7eac88abb...

I was wondering if it would be possible to add support for "proof of membership" in addition to the current existing range proof. Details on implementing a proof-of-membership is here:...

Pull request: https://github.com/mortendahl/rust-paillier/pull/2. The purpose of this task is to add Zero Knowledge proof that a Paillier public key (EK) was generated correctly. Reference: Subsection 3.1 of [Fast Secure Two-Party...

Some GMP operations have a secure counterpart for cryptographic purposes, such as [`powm_sec`](https://gmplib.org/manual/Integer-Exponentiation.html). We should make sure we use these whenever possible.

addition and multiplication does not implicitly rerandomise ciphertexts for performance reasons this behaviour should be very clear from the documentation as it's a potential security concern

at least get rid of references maybe move type back to keys to aid type inference

Including constant time operations and fault protection for e.g. CRT decryption.

Calling `keypair(n)` for very small n (say 10 or 20) takes a very long time to finish; finite loop?