Skip to main content

sha256

Function sha256 

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

One-shot SHA-256 of an in-memory byte slice. Useful when the caller has already assembled the canonical byte representation of a stage’s output.