Tool-Shack
    Preparing search index...

    Function randomCryptoString

    • Generate cryptographically secure random string using crypto.getRandomValues

      Parameters

      • length: number = 16

        Desired length of random string

      • charset: string = DEFAULT_CHARSET

        Character set to use (defaults to alphanumeric)

      Returns string

      Cryptographically secure random string