[−][src]Crate rust_elgamal
Structs
Ciphertext | An ElGamal ciphertext. |
CompressedRistretto | A Ristretto point, in compressed wire format. |
DecryptionKey | An ElGamal decryption key (also called a private key in other implementations). |
EncryptionKey | An ElGamal encryption key (also called a public key in other implementations). To create a new encryption key, see DecryptionKey. |
RistrettoPoint | A |
Scalar | The |
Constants
GENERATOR_POINT | 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. |
GENERATOR_POINT_COMPRESSED | 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. |
GENERATOR_TABLE | The group generator as a table of precomputed multiples. This is the most efficient way to produce a scalar multiple of the generator. |
Traits
Identity | Trait for getting the identity element of a point type. |
IsIdentity | Trait for testing if a curve point is equivalent to the identity point. |
MultiscalarMul | A trait for constant-time multiscalar multiplication without precomputation. |