about summary refs log blame commit diff
path: root/src/nix-hash/help.txt
blob: 082cc7571c067b34057e0ee697d6335df5c5d79a (plain) (tree)
1
2
3
4
5
6
7
8
9

                                
                                                                     


                                                             

                                                                          
                                           
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