Skip to main content

is_valid_id

Function is_valid_id 

Source
pub fn is_valid_id(id: &str) -> bool
Expand description

Hex SHA-256, lowercase. Every public entry point that turns an id into a path validates it with this first, so an id can never carry a separator.