RandomAlphabets

Predefined alphabet strings for random text generation.

Each constant is an ordered string of distinct characters that can be passed to nextString or any other API that accepts an alphabet.

Properties

Link copied to clipboard
const val ALPHABETIC: String

Lowercase and uppercase Latin letters (a-zA-Z), 52 characters.

Link copied to clipboard
const val ALPHANUMERIC: String

Lowercase letters, uppercase letters, and decimal digits (a-zA-Z0-9), 62 characters.

Link copied to clipboard
const val DIGITS: String

Decimal digits (0-9), 10 characters.

Link copied to clipboard
const val HEX_LOWER: String

Lowercase hexadecimal digits (0-9a-f), 16 characters.