A pure-Rust implementation of group operations on Ristretto and Curve25519
curve25519-dalek
is a library providing group operations on the Edwards and
Montgomery forms of Curve25519, and on the prime-order Ristretto group.
std
feature flagnightly
feature flagdigest
an optional featurerand_core
an optional featureScalar::{zero, one}
with constants Scalar::{ZERO, ONE}
Scalar::from_canonical_bytes
now returns CtOption
Scalar::is_canonical
now returns Choice
EdwardsPoint::hash_from_bytes
and rename it
EdwardsPoint::nonspec_map_to_curve
use curve25519_dalek::traits::BasepointTable
whenever using EdwardsBasepointTable
or RistrettoBasepointTable
This release also does a lot of dependency updates and relaxations to unblock upstream build issues.