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

Optional `rand_core` with `StaticSecret` #116

Closed pinkforest closed 11 months ago

pinkforest commented 1 year ago

Given if we make all Secret types optional via

And since StaticSecret can import key material -

Perhaps rand_core can be marked in this case optional when only StaticSecret is used ?

ReusableSecret and EphemeralSecret features would enable rand_core given #114

pinkforest commented 11 months ago

fyi Development has moved to under https://github.com/dalek-cryptography/curve25519-dalek