Function generateRandomString

  • Generate a random string of the given length. Warning: This is not a cryptographically secure random string generator.

    Parameters

    • length: number = 20
    • alphabet: string = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'

    Returns string

Generated using TypeDoc