in packages/supports-web-crypto/src/supportsWebCrypto.ts [35:43]
export function supportsSecureRandom(window: Window): boolean {
if (typeof window === "object" && typeof window.crypto === "object") {
const { getRandomValues } = window.crypto;
return typeof getRandomValues === "function";
}
return false;
}