Skip to main content

Module hash

Module hash 

Source

Enums§

CompatHashMatch

Functions§

copy_and_hash_compat
Copy reader into writer while computing the Wabbajack-compatible hashes.
hash_file_sha256
Compute SHA-256 of a file using streaming reads.
hash_file_xxh64
Compute classic xxHash64 of a file (used by Wabbajack).
hash_file_xxhash
Compute xxHash (XXH3-64) of a file.
verify_sha256
Verify a file’s SHA-256 matches the expected hex string.
verify_xxh64
Verify a file’s classic xxHash64 matches the expected value (used by Wabbajack).
verify_xxhash
Verify a file’s XXH3-64 hash matches the expected value.
verify_xxhash_compat
Verify a file’s hash using Wabbajack-compatible strategy: try xxHash64 first, fall back to XXH3.