| Crates.io | fast-paillier |
| lib.rs | fast-paillier |
| version | 0.3.2 |
| created_at | 2023-11-24 16:25:59.375662+00 |
| updated_at | 2025-11-25 15:11:27.511064+00 |
| description | Optimized Paillier encryption scheme |
| homepage | |
| repository | https://github.com/LFDT-Lockness/fast-paillier |
| max_upload_size | |
| id | 1047183 |
| size | 154,333 |
Library implements Paillier encryption scheme with optimization such as:
This crate uses an abstraction over the big integer implementation, available in backend module. The concrete backend can be selected with a feature flag:
backend-num-bigint (default) - use num-bigitbackend-rug - use rug. This backend is based on GNU GMP and can be several times faster.The applicability of this backend to your uses is not guaranteed, any additional functionality to it will not be added. However, you can convert them to bytes or, if using a fixed backend, to the underlying format, and perform the necessary operations with those.
#![no_std] supportLibrary is #![no_std]-friendly as long as you enable no_std feature, and you use only these
features: backend-num-bigint, serde. Enabling other features will introduce transitive
dependency on std.
Feel free to reach out to us in Discord!