Back to Pocketbase

Function randomString

static/jsvm/functions/_security.randomString.html

latest548 B
Original Source

Function randomString

  • randomString(length): string

RandomString generates a cryptographically random string with the specified length.

The generated string matches [A-Za-z0-9]+ and it's transparent to URL-encoding.

Parameters

length: number

Returns string

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc