Expand description
Hashing utilities for GitTorrent
Functionsยง
- hash_
string - Hash a string to create an identifier
- sha256
- Calculate SHA256 hash of data
- sha256_
data - Calculate SHA256 hash of data and return as Sha256Hash (alias for sha256_git)
- sha256_
git - Calculate SHA256 hash and return as Sha256Hash type
- sha256_
hex - Calculate SHA256 hash and return as hex string
- verify_
sha256 - Verify that a given SHA256 matches the data