pub fn registration_digest(registrations_json: &str) -> Result<String, JcsError>Expand description
RFC 8785 SHA-256 of the registrations array only.
registrations_json is the raw JSON array. Duplicate keys, lone
surrogates, and non-I-JSON numbers fail before hashing.