Skip to main content

sha256_hex

Function sha256_hex 

Source
pub fn sha256_hex(bytes: &[u8]) -> String
Expand description

The lowercase hex sha256 of bytes, as read records, expect_sha256 and the apply_patch report write it.

ยงExample

assert_eq!(
    adk_devtools::sha256_hex(b""),
    "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
);