Back to Pocketbase

Interface randomStringWithAlphabet

static/jsvm/interfaces/security.randomStringWithAlphabet.html

latest690 B
Original Source

Interface randomStringWithAlphabet

Hierarchy

  • randomStringWithAlphabet

  • randomStringWithAlphabet(length, alphabet): string

RandomStringWithAlphabet generates a cryptographically random string with the specified length and characters set.

It panics if for some reason rand.Int returns a non-nil error.

Parameters

length: number
alphabet: string

Returns string

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc