Expand description
SHA256 hashing utilities for reproducibility artifacts
Provides deterministic hashing for:
- Script content
- Data files/checksums
- Parameter configurations
- Combined artifact hashes
Structs§
- Hash
Digest - Hash result as hex string with prefix
Functions§
- combine_
hashes - Combine multiple hashes into one
- hash_
bytes - Hash a byte slice
- hash_
data_ files - Hash multiple files and combine
- hash_
file - Hash a file by reading its contents
- hash_
parameters - Hash parameters in a deterministic way (sorted keys)
- hash_
string - Hash a string (script content, etc.)