{"id":74531,"library":"x25519-dalek-ng","title":"X25519 Dalek NG","description":"A fork of x25519-dalek with updated rand_core dependency for X25519 elliptic curve Diffie-Hellman key exchange.","status":"active","version":"1.1.1","language":"rust","source_language":null,"source_url":"https://github.com/rmw-lib/x25519-dalek-ng","tags":["x25519","diffie-hellman","cryptography","key-exchange","dalek"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nx25519-dalek-ng = \"1.1.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add x25519-dalek-ng","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"EphemeralSecret","correct":"use x25519_dalek_ng::EphemeralSecret;"}],"quickstart":{"code":"use x25519_dalek_ng::EphemeralSecret;\nuse rand_core::OsRng;\n\nfn main() {\n    let secret = EphemeralSecret::new(OsRng);\n    println!(\"Ephemeral secret generated\");\n}","lang":"rust","description":"Generate an X25519 ephemeral secret key"},"warnings":[{"fix":"Add rand_core with 'getrandom' feature or use OsRng.","message":"Requires a CSPRNG from rand_core; using OsRng is recommended.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'core':13 'cryptographi':28 'curv':18 'dalek':2,9,32 'depend':14 'diffi':20,26 'diffie-hellman':19,25 'ellipt':17 'exchang':23,31 'fork':5 'hellman':21,27 'key':22,30 'key-exchang':29 'ng':3 'rand':12 'updat':11 'x25519':1,8,16,24 'x25519-dalek':7","created_at":"2026-06-17T19:04:50.894351+00:00","updated_at":"2026-06-17T19:04:50.894351+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://dalek.rs/","github":"https://github.com/rmw-lib/x25519-dalek-ng","docs":"https://docs.rs/x25519-dalek-ng/","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-17","next_check":"2026-12-14","install_tag":null}}