Get the default RandomSource for the current environment.
Prefers Web Crypto API, falls back to Node.js crypto.
A RandomSource appropriate for the current environment
Error if no secure random source is available
Get the default RandomSource for the current environment.
Prefers Web Crypto API, falls back to Node.js crypto.