[−][src]Crate elgamal_curve25519
ElGamal Homomorphic Encryption Library
A Rust library for ElGamal Homomorphic Encryption. ElGamal encryption is only
usable for small values (32 bytes) and so it's generally used in hybrid encryption
schemes.
This library implements ElGamal multiplicative homomorphic encryption, so
messages can be multiplicatevely aggregated by multiplying their cyphertexts.
Aggregated cyphertexts can be decrypted only if they have the same recipient
and only by that recipient.
The scheme has different applications, ranging from online voting systems to
secure multyparty computation for cryptocurrencies.
Structs
CypherText 

KeyPair 

Message 

PrivateKey 

PublicKey 

Enums
Error 

Functions
decrypt 

encrypt 

Type Definitions
Result 
