{"id":57475,"library":"curve25519-dalek","title":"curve25519-dalek","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","status":"active","version":"4.1.3","language":"rust","source_language":null,"source_url":"https://github.com/dalek-cryptography/curve25519-dalek","tags":["cryptography","elliptic-curve","ristretto","curve25519","no-std"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ncurve25519-dalek = \"4.1.3\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add curve25519-dalek","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"RistrettoPoint","correct":"use curve25519_dalek::RistrettoPoint;"}],"quickstart":{"code":"use curve25519_dalek::RistrettoPoint;\nuse curve25519_dalek::constants::RISTRETTO_BASEPOINT_POINT;\n\nfn main() {\n    let point = RistrettoPoint::random(&mut rand::thread_rng());\n    let sum = point + RISTRETTO_BASEPOINT_POINT;\n    println!(\"{:?}\", sum.compress());\n}","lang":"rust","description":"Generates a random Ristretto point and adds the base point."},"warnings":[{"fix":"Add `rand_core` as a dependency or enable the `rand` feature.","message":"Requires the `rand_core` feature for random generation.","severity":"gotcha","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'cryptographi':16 'curv':19 'curve25519':2,15,21 'curve25519-dalek':1 'dalek':3 'ellipt':18 'elliptic-curv':17 'group':10 'implement':8 'no-std':22 'oper':11 'pure':6 'pure-rust':5 'ristretto':20 'ristretto255':13 'rust':7 'std':24","created_at":"2026-06-16T15:43:58.688891+00:00","updated_at":"2026-06-16T15:43:58.688891+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","github":"https://github.com/dalek-cryptography/curve25519-dalek","docs":"https://docs.rs/curve25519-dalek/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}