Structs§
- An ElGamal ciphertext.
- A Ristretto point, in compressed wire format.
- An ElGamal decryption key (also called a private key in other implementations).
- An ElGamal encryption key (also called a public key in other implementations). To create a new encryption key, see DecryptionKey.
- A
RistrettoPoint
represents a point in the Ristretto group for Curve25519. Ristretto, a variant of Decaf, constructs a prime-order group as a quotient group of a subgroup of (the Edwards form of) Curve25519. - The
Scalar
struct holds an integer \(s < 2^{255} \) which represents an element of \(\mathbb Z / \ell\).
Constants§
- The group generator as a single point. If you’re trying to create a scalar multiple of the generator, you probably want GENERATOR_TABLE instead.
- The group generator as a single point, compressed for transit. If you’re trying to create a scalar multiple of the generator, you probably want GENERATOR_TABLE instead.
- The group generator as a table of precomputed multiples. This is the most efficient way to produce a scalar multiple of the generator.
Traits§
- Trait for getting the identity element of a point type.
- Trait for testing if a curve point is equivalent to the identity point.
- A trait for constant-time multiscalar multiplication without precomputation.