Back to Pocketbase

Interface pseudorandomStringWithAlphabet

static/jsvm/interfaces/security.pseudorandomStringWithAlphabet.html

latest746 B
Original Source

Interface pseudorandomStringWithAlphabet

Hierarchy

  • 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