Releases: dalek-cryptography/curve25519-dalek
Releases · dalek-cryptography/curve25519-dalek
v4.0.0-pre.5
curve25519-dalek
is a library providing group operations on the Edwards and
Montgomery forms of Curve25519, and on the prime-order Ristretto group.
Breaking changes in 4.0.0
- Update the MSRV from 1.41 to 1.56.1
- Update backend selection to be more automatic
- Remove
std
feature flag - Remove
nightly
feature flag - Make
digest
an optional feature - Make
rand_core
an optional feature - Replace methods
Scalar::{zero, one}
with constantsScalar::{ZERO, ONE}
Scalar::from_canonical_bytes
now returnsCtOption
Scalar::is_canonical
now returnsChoice
- Deprecate
EdwardsPoint::hash_from_bytes
and rename it
EdwardsPoint::nonspec_map_to_curve
- Require including a new trait,
use curve25519_dalek::traits::BasepointTable
whenever usingEdwardsBasepointTable
orRistrettoBasepointTable
This release also does a lot of dependency updates and relaxations to unblock upstream build issues.