Crate fast_paillier

Source
Expand description

§Optimized Paillier encryption scheme

Library implements Paillier encryption scheme with optimization such as:

  • Faster encryption and homomorphic operations via Chinese Remainder Theorem when the private key is known
  • Faster secret key generation (a.k.a faster safe primes generation)

Built on top of rug big integers library (which is based on GMP).

Modules§

utils
Various utilities

Structs§

DecryptionKey
Paillier decryption key
EncryptionKey
Paillier encryption key
Error
Error type used in the library

Traits§

AnyEncryptionKey
Any key capable of encryption
AnyEncryptionKeyExt
Additional functionality implemented for AnyEncryptionKey

Type Aliases§

Ciphertext
Paillier ciphertext
Nonce
Paillier nonce
Plaintext
Paillier plaintext