#square-root #square-free #blum-integer #paillier-modulus #rsa-modulus

no-std composite_modulus_proofs

Proofs about several propoerties of a composite modulus - square-free, product of 2 primes, a blum integer

1 unstable release

new 0.1.0 Jan 23, 2025

#784 in Cryptography

Download history 106/week @ 2025-01-21

106 downloads per month

Apache-2.0

240KB
4.5K SLoC

CI Apache-2 Dependencies crates.io docs.rs

Proofs of properties of RSA or Paillier modulus

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

Uses 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

Dependencies

~3–4.5MB
~88K SLoC