Utilties for the discerning C programmer
fnvsum - hash input using 64-bit FNV1a
fnvsum [OPTIONS] [FILE | -]
Calculate the 64-bit FNV1a hash of FILE;
read from standard input if no FILE or when FILE is -
The hash function is FNV1a.
print usage details
0 on success
Hash from stdin:
$ echo -n '/the/enemy/gate/is/down' | fnvsum
7814fb571359f23e -
$
Hash a file:
$ echo -n '/the/enemy/gate/is/down' > a_file.txt
$ fnvsum a_file.txt
7814fb571359f23e a_file.txt
$
Sirio Balmelli; Balmelli Analog & Digital
fnv(3)
This utility is part of the nonlibc library.