Function verify_domain_separation
Source pub fn verify_domain_separation(data: &[u8], domains: &[&[u8]]) -> bool
Expand description
Verify domain separation properties
Ensures that domain-separated hashes are different even when the
underlying data is identical.
§Arguments
data - Test data to hash
domains - Array of domain identifiers to test
§Returns
Returns true if all domain-separated hashes are unique