apiculture/alphabets

Values

pub fn alphanumeric_lower() -> alphabet.Alphabet

Lowercase alphanumeric (0-9, a-z)

pub fn alphanumeric_mixed() -> alphabet.Alphabet

Mixed-case alphanumeric (0-9, A-Z, a-z)

pub fn alphanumeric_upper() -> alphabet.Alphabet

Uppercase alphanumeric (0-9, A-Z)

pub fn base32_crockford() -> alphabet.Alphabet

Crockford’s Base32 alphabet Designed to be human-safe, excludes I, L, O, U

pub fn base32_hex() -> alphabet.Alphabet

Base32hex alphabet (0-9, A-V)

pub fn base32_rfc() -> alphabet.Alphabet

RFC 4648 Base32 alphabet (A-Z, 2-7)

pub fn base32_rfc_padding() -> alphabet.Alphabet

RFC 4648 Base32 alphabet with padding (not typically used for sampling)

pub fn base32_z() -> alphabet.Alphabet

z-base-32 alphabet (human-friendly) Order is designed for easy memorization and transcription

pub fn base36_lower() -> alphabet.Alphabet

Lowercase Base36 (0-9, a-z)

pub fn base36_upper() -> alphabet.Alphabet

Uppercase Base36 (0-9, A-Z)

pub fn base58() -> alphabet.Alphabet

Bitcoin-style Base58 alphabet Excludes 0, O, I, l for visual clarity

pub fn base62() -> alphabet.Alphabet

Standard Base62 (0-9, A-Z, a-z)

pub fn base64() -> alphabet.Alphabet

Standard Base64 character repertoire

pub fn base64_url() -> alphabet.Alphabet

Base64URL variant (URL-safe, replaces +/ with -_)

pub fn hex_lower() -> alphabet.Alphabet

Lowercase hexadecimal (0-9, a-f)

pub fn hex_upper() -> alphabet.Alphabet

Uppercase hexadecimal (0-9, A-F)

pub fn human_safe() -> alphabet.Alphabet

Human-safe alphabet excluding visually ambiguous characters Excludes: 0, O, 1, I, l, B, 8, S (can be confused) Uses: 2-9, A-H, J-N, P-R, T-Z, a-k, m-n, p-t, v-z

pub fn lower() -> alphabet.Alphabet

Lowercase letters only (a-z)

pub fn numeric() -> alphabet.Alphabet

Numeric characters only (0-9)

pub fn upper() -> alphabet.Alphabet

Uppercase letters only (A-Z)

Search Document