Function pseudorandomStringWithAlphabet

  • PseudorandomStringWithAlphabet generates a pseudorandom string with the specified length and characters set.

    For a cryptographically random (but a little bit slower) use RandomStringWithAlphabet instead.

    Parameters

    • length: number
    • alphabet: string

    Returns string

Generated using TypeDoc