pub fn expected_sha256(sums: &str, asset: &str) -> Option<String>Expand description
The expected SHA-256 (lowercase hex) for asset from a SHA256SUMS body.
Each line is <hex>␠␠<name> (or single-space); we match the file name and
return its hash. Returns None if the asset isn’t listed.