opentitanlib::crypto::sha256

Function sha256

Source
pub fn sha256(data: impl AsRef<[u8]>) -> Sha256Digest