Back to Pocketbase

Function pseudorandomStringWithAlphabet

static/jsvm/functions/_security.pseudorandomStringWithAlphabet.html

latest698 B
Original Source

Function pseudorandomStringWithAlphabet

  • pseudorandomStringWithAlphabet(length, alphabet): string

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

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc