Skip to main content

verify_integrity

Function verify_integrity 

Source
pub fn verify_integrity(
    data: &[u8],
    expected_checksum: &str,
) -> Result<(), UpgradeError>
Expand description

Verify that data matches the expected SHA-256 checksum.