Skip to main content

Module paillier

Module paillier 

Source
Expand description

Paillier homomorphic encryption.

Structs§

PaillierKeypair
PaillierPrivateKey
PaillierPublicKey

Enums§

PaillierError

Functions§

add
decrypt
encrypt
generate_keypair
generate_prime
Generate a random probable prime (Miller-Rabin, 20 rounds).
miller_rabin
Miller-Rabin probable-prime test.
scalar_mul