Skip to main content

verify_sha256

Function verify_sha256 

Source
pub fn verify_sha256(data: &[u8], expected: &Sha256Hash) -> Result<bool>
Expand description

Verify that a given SHA256 matches the data