[][src]Crate ecvrf

Modules

curve25519
ristretto

Structs

EdwardsPoint

An EdwardsPoint represents a point on the Edwards form of Curve25519.

OsRng

A random number generator that retrieves randomness straight from the operating system.

RistrettoPoint

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.

SHA3

SHA-3-256 hash function.

Scalar

The Scalar struct holds an integer \(s < 2^{255} \) which represents an element of \(\mathbb Z / \ell\).

Constants

ED25519_BASEPOINT_POINT

The Ed25519 basepoint, as an EdwardsPoint.

RISTRETTO_BASEPOINT_POINT

The Ristretto basepoint, as a RistrettoPoint.

Traits

Digest

The Digest trait specifies an interface common for digest functions.

Functions

sha3