Function calculate_sha256

Source
pub(crate) fn calculate_sha256(input: &[u8]) -> [u8; 32]