3 ms·
I would imagine that they could solve this fairly easily by wrapping XorShiftRng in a newtype, and then implementing CryptoRng for that newtype. It's an awful t
by staticassertion 7y ago
I would imagine that they could solve this fairly easily by wrapping XorShiftRng in a newtype, and then implementing CryptoRng for that newtype. It's an awful thing to do in consumable code, but so long as it's done in the test module it should be perfectly fine.