Static
Readonly
MAXIMUM_Maximum string length supported.
Constructor.
Character set. Each element is a single-character string, unique within the array, that defines the character set.
Exclusions supported by the character set. All character sets implicitly support Exclusion.None.
Get the character set.
Get the character set size.
Static
powerCreate string(s) by mapping value(s) to the equivalent characters in the character set across the length of the string.
Required string length.
Numeric value(s) of the string(s).
String(s) to be excluded from the range of outputs. See Exclusion for possible values and their meaning.
Optional
tweak: number | bigintIf provided, the numerical value of the string(s) is/are "tweaked" using an encryption transformer.
Optional
creatorCallback: TransformerCallback<string, string>If provided, called after each string is constructed to create the final value.
String(s) created from the value(s).
Determine the value for a string.
String.
Strings excluded from the range of inputs. See Exclusion for possible values and their meaning.
Optional
tweak: number | bigintIf provided, the numerical value of the string was "tweaked" using an encryption transformer.
Numeric value of the string.
Protected
validateValidate a string. If the string violates the character set or any of the character set validation parameters, an error is thrown.
String.
Optional
validation: CharacterSetValidationCharacter set validation parameters.
Character set creator. Maps numeric values to strings using the character set as digits.