Skip to main content

digest_json

Function digest_json 

Source
pub fn digest_json<T: Serialize>(
    domain: &str,
    value: &T,
) -> Result<String, Error>
Expand description

JSON-serialize value then digest the bytes under domain.