Skip to main content

is_valid_key

Function is_valid_key 

Source
pub fn is_valid_key(key: &str) -> bool
Expand description

Whether key matches ^[a-z0-9_-]{1,64}$: lowercase ASCII letters, digits, _ and -, 1 to MAX_KEY_LEN bytes.