dynamic_token/
constants.rs

1
2/// characters used for base-36 conversion
3pub const BASE_36_CHARS: &[u8; 36] = b"0123456789abcdefghijklmnopqrstuvwxyz";
4
5/// characters used for hexadecimal conversion
6pub const HEX_CHARS: &[u8; 16] = b"0123456789abcdef";
7
8/// Minimum length of the hexadecimal UUID
9pub const MIN_VALID_UUID_LENGTH: usize = 24;
10
11/// Max random start offset for the encoded API key after the initial control character
12pub const MAX_API_KEY_OFFSET: usize = 6;