pub fn sha256(data: &[u8]) -> [u8; 32]Expand description
Computes the SHA-256 digest of data with the platform’s TLS crypto provider.
This is AWS-LC on non-Windows platforms (its FIPS module when the fips feature is enabled) and CNG on Windows, so
the digest comes from the same module as TLS.