Function webRandomBytes

  • A random byte iterator implementation for the Web that uses crypto.getRandomValues if available, and falls back to Math.random otherwise.

    Parameters

    • Optional length: number

    Returns NumberIterator

Generated using TypeDoc