Function sha256

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

Hashes the given data using SHA-256.