std

module std::sha256source

SHA-256 (FIPS 180-4), which the package registry checks files with.

fn sha256source

exp fn sha256(bytes: &[u8]) -> [u8 : 32]

The 32-byte digest of the bytes.

fn sha256_textsource

exp fn sha256_text(bytes: &[u8]) -> String

The digest as 64 lower-case hexadecimal digits.