Skip to main content

encode_sha256

Function encode_sha256 

Source
pub fn encode_sha256(wasm_bytes: &[u8]) -> String
Expand description

Encode a SHA-256 digest as the manifest sha256:<hex> form. Exposed so tooling (and tests) can produce a manifest hash for real .wasm bytes.