Function std::sys::windows::rand::fallback_rng

source ·
fn fallback_rng() -> (u64, u64)
Expand description

Generate random numbers using the fallback RNG function (RtlGenRandom)

This is necessary because of a failure to load the SysWOW64 variant of the bcryptprimitives.dll library from code that lives in bcrypt.dll See https://bugzilla.mozilla.org/show_bug.cgi?id=1788004#c9