Module elastic_elgamal::group
source · Expand description
Traits and implementations for prime-order groups in which the decisional Diffie–Hellman (DDH), computational Diffie–Hellman (CDH) and discrete log (DL) problems are believed to be hard.
(Decisional Diffie–Hellman assumption is considered stronger than both CDH and DL, so if DDH is believed to hold for a certain group, it should be good to go.)
Such groups can be applied for ElGamal encryption and other cryptographic protocols from this crate.
Structs§
- Prime-order subgroup of Curve25519 without any transforms performed for EC points.
- Generic
Group
implementation for elliptic curves defined in terms of the traits from theelliptic-curve
crate. - Provides an arbitrary number of random bytes.
- Ristretto transform of Curve25519, also known as ristretto255.
Traits§
- Helper trait for
Group
that describes operations on group elements (i.e., EC points for elliptic curve groups). - Prime-order group in which the discrete log problem and decisional / computational Diffie–Hellman problems are believed to be hard.
- Helper trait for
Group
that describes operations on group scalars.