Registry / crypto / noah-curve25519-dalek

noah-curve25519-dalek

JSON →
library4.0.0rscratesunverified

A pure-Rust implementation of group operations on ristretto255 and Curve25519.

# Cargo.toml [dependencies] noah-curve25519-dalek = "4.0.0"
INSTALL
IMPORT
SIG · NOAH-CURVE25519-DA
N
noah-curve25519-dalek
cryptorustv4.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RistrettoPoint
✓ use curve25519_dalek::RistrettoPoint;

Generates a random Ristretto point and scalar, then performs scalar multiplication.

use curve25519_dalek::RistrettoPoint; use curve25519_dalek::scalar::Scalar; fn main() { let point = RistrettoPoint::random(&mut rand::thread_rng()); let scalar = Scalar::random(&mut rand::thread_rng()); let result = scalar * point; println!("Result: {:?}", result); }
Debug
Known issues
gotchaThis crate is a fork of curve25519-dalek with potential API differences.
fix
Check documentation for specific changes from upstream curve25519-dalek.
affects: >=4.0.0
Upgrade
Version history
4.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Amazon
1
Resources
noah-curve25519-dalek — cargo add noah-curve25519-dalek · libregistry