Skip to main content

control_payload_checksum

Function control_payload_checksum 

Source
pub fn control_payload_checksum<T>(
    state: &T,
) -> Result<String, EnvelopeCodecError>
where T: Serialize,
Expand description

Computes the checksum stored beside canonical JSON for a control state.

Computation fails when state cannot be serialized.