Crypto Edge
    Preparing search index...

    Function insecureGetRandomValues

    • INSECURE Math.random-based fallback for crypto.getRandomValues. This is NOT cryptographically secure and must only be used in environments where no CSPRNG is available (e.g., unit tests in constrained runtimes).

      Type Parameters

      • T extends ArrayBufferView<ArrayBufferLike>

      Parameters

      • array: T

      Returns T