0399365675
kind of ad hoc ;-)
10 lines
350 B
Plaintext
10 lines
350 B
Plaintext
nix-hash [OPTIONS...] [FILES...]
|
|
|
|
`nix-hash' computes and prints cryptographic hashes for the specified
|
|
files.
|
|
|
|
--flat: compute hash of regular file contents, not metadata
|
|
--base32: print hash in base-32 instead of hexadecimal
|
|
--type HASH: use hash algorithm HASH ("md5" (default), "sha1", "sha256")
|
|
--truncate: truncate the hash to 160 bits
|