generalized-paillier

Crates.iogeneralized-paillier
lib.rsgeneralized-paillier
version0.3.0
created_at2025-01-09 16:58:58.602234+00
updated_at2025-01-23 11:24:36.975517+00
descriptionOriginal Paillier encryption and generallized Paillier encrytion, i.e. Damgard-Jurik scheme
homepage
repositoryhttps://github.com/lovesh/generalized_paillier/
max_upload_size
id1510160
size111,723
Lovesh Harchandani (lovesh)

documentation

README

CI Apache-2 Dependencies crates.io docs.rs

Paillier encryption and Damgard-Jurik encryption

The code is generic over the prime size and expansion factor S (for Damgard-Jurik)

By default, it uses standard library and rayon for parallelization.

For no_std support, build as

cargo build --no-default-features

and for wasm-32, build as

cargo build --no-default-features --target wasm32-unknown-unknown

Commit count: 3

cargo fmt