|
NAMEcookfp - calculate file fingerprintSYNOPSIScookfp [ option... ][ filename... ]cookfp -Help cookfp -VERSion DESCRIPTIONThe cookfp program is used to calculate the fingerprints of files. A fingerprint is a hash of the contents of a file. The default fingerprint is cryptographically strong, so the probability of two different files having the same fingerprint is less than 1 in 2**200.The fingerprint is based on Dan Berstien <djb@silverton.berkeley.edu> public domain fingerprint 0.50 beta package 930809, posted to the alt.sources newsgroup. This program produces identical results; the expected test results were generated using Dan's package. The fingerprint is a base-64-sanely-encoded fingerprint of the input. Imagine this fingerprint as something universal and permanent. A fingerprint is 76 characters long, containing the following:
The output format is not expected to be compatible with anything. However, options are available to produce the purported output of Merkle's snefru program, the purported output of RSADSI's mddriver -x, or the purported output of the POSIX cksum program. If no files are named as input, the standard input will be used.
The special file name ``-'' is understood to mean the standard input.
OPTIONSThe following options are understood:
All other options will produce a diagnostic error. All options may be abbreviated; the abbreviation is documented as the upper case letters, all lower case letters and underscores (_) are optional. You must use consecutive sequences of optional letters. All options are case insensitive, you may type them in upper case or lower case or a combination of both, case is not important. For example: the arguments "-help", "-HEL" and "-h" are all interpreted to mean the -Help option. The argument "-hlp" will not be understood, because consecutive optional characters were not supplied. Options and other command line arguments may be mixed arbitrarily
on the command line.
The GNU long option names are understood. Since all option names
for cookfp are long, this means ignoring the extra leading '-'. The
"--option=value" convention is also
understood.
EXIT STATUSThe cookfp command will exit with a status of 1 on any error. The cookfp command will only exit with a status of 0 if there are no errors.COPYRIGHTcookfp version 2.30Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Peter Miller; All rights reserved. The cookfp program comes with ABSOLUTELY NO WARRANTY; for
details use the 'cookfp -VERSion License' command. This is free
software and you are welcome to redistribute it under certain conditions;
for details use the 'cookfp -VERSion License' command.
AUTHOR
Portions of this program are derived from sources from other people, sometimes with liberal copyrights, and sometimes in the public domain. These include:
In addition to the above copyright holders, there have been numerous authors and contributors, see the named files for details. Files names are relative to the root of the cook distribution.
Visit the GSP FreeBSD Man Page Interface. |