Skip to main content

Module checksum

Module checksum 

Source

Functionsยง

compute_sha256
Computes the SHA256 hex digest of the file at path.
download_and_find_checksum
Downloads a checksums file from checksums_url and extracts the expected hash for filename.
parse_checksum ๐Ÿ”’
Parse a checksums file content and find the hash for filename.
verify
Verifies that the file at path matches the expected_hex SHA256 hash.