rust-random / rand

A Rust library for random number generation.

Home Page:https://crates.io/crates/rand

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BlockRng64 doesn't implement CryptoRng

Pr0methean opened this issue · comments

Problem: Although rand has the declaration

impl<R: BlockRngCore + CryptoRng> CryptoRng for BlockRng<R> {}

there's no equivalent for BlockRng64<R>, so a BlockRng64 can't pass any compile-time check for a CryptoRng even when the core does.