Module scicrypt::cryptosystems::curve_el_gamal
source · [−]Expand description
Implementation of the ElGamal cryptosystem over an elliptic curve.
Structs
ElGamal over the Ristretto-encoded Curve25519 elliptic curve. The curve is provided by the
curve25519-dalek
crate. ElGamal is a partially homomorphic cryptosystem.
ElGamal ciphertext containing curve points. The addition operator on the ciphertext is reflected as the curve operation on the associated plaintext.
Encryption key for curve-based ElGamal
Decryption key for curve-based ElGamal
Public key with several precomputations to speed-up encryption