pub fn generate_commitment(
schema_hash: &[u8; 32],
canonical_attributes: &[u8],
salt: &[u8; 32],
) -> [u8; 32]Expand description
Generate a privacy-preserving commitment to credential attributes. commitment = blake3(domain_sep || schema_hash || canonical_attributes || salt)