pub fn as_safe_commitment<H: Domain, T: AsRef<str>>( comm: &[u8; 32], commitment_name: T) -> Result<H>