Skip to main content

ash_hash_scope

Function ash_hash_scope 

Source
pub fn ash_hash_scope(scope: &[&str]) -> Result<String, AshError>
Expand description

Compute SHA-256 hash of scope fields. Uses unit separator (‘\x1F’) to prevent collision with field names containing commas.

§Errors

Returns error if any field name contains the delimiter character (U+001F). BUG-028: This prevents hash collisions from field names containing the delimiter.