openssl::sha

Function sha256

source
pub fn sha256(data: &[u8]) -> [u8; 32]
Expand description

Computes the SHA256 hash of some data.

This corresponds to SHA256.