Skip to main content

sha256

Function sha256 

Source
pub fn sha256(bytes: &[u8]) -> [u8; 32]
Expand description

SHA-256 of bytes, as a fixed 32-byte array. Used to hash a plugin’s wasm module for inclusion in the signed payload (content plugins sign over the manifest alone).