I simply modified the random_get implementation to use crypto.getRandomValues to generate the random numbers.
This has the benefit that the RNG is cryptographically secure, and is probably faster that the previous implementation (though that should be benchmarked).
I simply modified the
random_get
implementation to usecrypto.getRandomValues
to generate the random numbers. This has the benefit that the RNG is cryptographically secure, and is probably faster that the previous implementation (though that should be benchmarked).