forc_crypto::sha256

Function hash

Source
pub fn hash<T: Into<Vec<u8>>>(data: T) -> Result<Value>
Expand description

Hashes a given data to Sha256