@lelantos-org/sdk / core / requireWebCrypto
Function: requireWebCrypto() โ
ts
function requireWebCrypto(): Crypto;Defined in: @lelantos-org/sdk/dist/core/random.d.ts:8
The platform CSPRNG.
Returns โ
Crypto
Throws โ
when globalThis.crypto.getRandomValues is absent (old Node without the global, or a stripped browser sandbox).