EnglishFrenchSpanish

Ad


OnWorks favicon

cookfp - Online in the Cloud

Run cookfp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cookfp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


cookfp - calculate file fingerprint

SYNOPSIS


cookfp [ option... ][ filename... ]
cookfp -Help
cookfp -VERSion

DESCRIPTION


The 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 <[email protected]> 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:

1. A Snefru-8 (version 2.5, 8 passes, 512->256) hash. (Derived from the Xerox Secure
Hash Function.)

2. An MD5 hash, as per RFC 1321. (Derived from the RSADSI MD5 Message-Digest Algorithm.)

3. A CRC checksum, as in the new cksum utility.

4. Length modulo 2^40.

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.

OPTIONS


The following options are understood:

-Checksum
Print the CRC32 checksum and length of the named file(s).

-Identifier
Print a condensed form of the fingerprint (obtained by performing a CRC32 checksum
on the full fingerprint described above - a definite overkill). This is an
8-digit hexadecimal number, useful for generating unique short identifiers out of
long names. The first character is forced to be a letter (g-p), so there is no
problem in using the output as a variable name.

-Help
Provide some help with using the cookfp program.

-Message_Digest
Print the RSA Data Security, Inc. MD5 Message-Digest Algorithm hash of the named
file(s).

-Snefru Print the Snefru hash of the named file(s), derived from the Xerox Secure Hash
Function.

-VERSion
Print the version of the cookfp program being executed.

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 STATUS


The 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.

COPYRIGHT


cookfp version 2.33
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Miller

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.

Use cookfp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 2
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 3
    Chart.js
    Chart.js
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • 4
    iReport-Designer for JasperReports
    iReport-Designer for JasperReports
    NOTE: iReport/Jaspersoft Studio Support
    Announcement: As of version 5.5.0,
    Jaspersoft Studio will be the official
    design client for JasperReports. iReport
    will...
    Download iReport-Designer for JasperReports
  • 5
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 6
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • More »

Linux commands

Ad