nacl-compat icon indicating copy to clipboard operation
nacl-compat copied to clipboard

rand 0.9.0 support

Open tyilo opened this issue 1 year ago • 1 comments

As OsRng no longer implements CryptoRng in rand 0.9.0, the examples using something like

let key = Key::generate(&mut OsRng);

doesn't work anymore.

tyilo avatar Feb 04 '25 16:02 tyilo

We need to update the trait crates first. See https://github.com/RustCrypto/traits/issues/1642

tarcieri avatar Feb 04 '25 17:02 tarcieri