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§
- Decryption
Key - Paillier decryption key
- Encryption
Key - Paillier encryption key
- Error
- Error type used in the library
Traits§
- AnyEncryption
Key - Any key capable of encryption
- AnyEncryption
KeyExt - Additional functionality implemented for AnyEncryptionKey
Type Aliases§
- Ciphertext
- Paillier ciphertext
- Nonce
- Paillier nonce
- Plaintext
- Paillier plaintext