| Crates.io | composite_modulus_proofs |
| lib.rs | composite_modulus_proofs |
| version | 0.1.0 |
| created_at | 2025-01-23 11:13:41.279833+00 |
| updated_at | 2025-01-23 11:13:41.279833+00 |
| description | Proofs about several propoerties of a composite modulus - square-free, product of 2 primes, a blum integer |
| homepage | |
| repository | https://github.com/lovesh/composite_modulus_proofs/ |
| max_upload_size | |
| id | 1527713 |
| size | 251,711 |
Implements the protocols described in the papers Efficient Noninteractive Certification of RSA Moduli and Beyond and UC Non-Interactive, Proactive, Distributed ECDSA with Identifiable Aborts. Also refer this.
For a given composite RSA or Paillier modulus N
gcd(x, N) = 1 for a given xN is square freeN is product 2 distinct primesN is a Blum integerN is a Blum integerUses following math
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