dalek-cryptography / x25519-dalek

X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dalek.
BSD 3-Clause "New" or "Revised" License
326 stars 132 forks source link

Add `getrandom` #118

Closed pinkforest closed 1 year ago

pinkforest commented 1 year ago

Fixes #85 Supercedes #103 by re-rolling the commit with Co-authored-by @cipriancraciun (it was targeting main branch)

Provides the new feature getrandom with convenience random_from_rng() functions (naming aligned to other daleks)

Old PR was - release/2.0 branch got nuked: https://github.com/dalek-cryptography/x25519-dalek/pull/113