summary refs log tree commit diff
path: root/src/nix-hash/help.txt
blob: 6c166f4995d82fafe6947a6e3f6722d7c4c690bc (plain) (blame)
1
2
3
4
5
6
7
8
9
Usage: 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