Skip to main content

digest_data

Function digest_data 

Source
pub fn digest_data<T: Serialize>(data: &T) -> Result<String>
Expand description

Convenience function for serializable types to mask the whole JSON tree into a digest, keep nothing.

Uses SHA3-256 (legacy "cj" prefix). See digest_data_blake3.