pub fn commitment_hash(payload: &CommitmentPayload) -> StringExpand description
Compute the RFC-MACP-0013 commitment hash for payload.
Returns "sha256:" followed by 64 lowercase hex characters.
D3 – this function never fails. It accepts any CommitmentPayload,
well-formed or not (including one with every string field empty, or a
supersedes present with empty sub-fields), and always returns a
String. It performs no validation; callers that need to reject
malformed payloads before hashing them must do so separately.