Module hash

Module hash 

Source
Expand description

File hashing utilities

Provides SHA1 hash verification for files with both sync and async implementations

Enums§

HashError

Functions§

calculate_file_sha1_sync
Calculates the SHA1 hash of a file (sync version)
calculate_sha1_bytes
Calculates the SHA1 hash of arbitrary bytes
calculate_sha1_bytes_raw
Calculates the SHA1 hash of arbitrary bytes and returns raw hash bytes
verify_file_sha1
Verifies the SHA1 hash of a file (async version)
verify_file_sha1_streaming
Verifies the SHA1 hash of a file with streaming (async version)
verify_file_sha1_sync
Verifies the SHA1 hash of a file (sync version)

Type Aliases§

HashResult