RMD160(1)                  OpenBSD Reference Manual                  RMD160(1)

NAME
     rmd160 - calculate a message-digest fingerprint (checksum) for a file

SYNOPSIS
     rmd160 [-p | -t | -x | -s string | file ...]

DESCRIPTION
     rmd160 takes as input a message of arbitrary length and produces as out-
     put a 160-bit "fingerprint" or "message digest" of the input.  It is con-
     jectured that it is computationally infeasible to produce two messages
     having the same message digest, or to produce any message having a given
     prespecified target message digest.

     The RMD-160 algorithm is intended for digital signature applications,
     where a large file must be "compressed" in a secure manner before being
     encrypted with a private (secret) key under a public-key cryptosystem
     such as RSA.

     The options are as follows:

     -s string
             Prints a checksum of the given string.

     -p      Echos stdin to stdout and appends the RMD-160 sum to stdout.

     -t      Runs a built-in time trial.

     -x      Runs a built-in test script.

     The RMD-160 sum of each file listed on the command line is printed after
     the options are processed.

SEE ALSO
     cksum(1), md5(1), sha1(1)

     RMD-160 is part of the ISO draft standard "ISO/IEC DIS 10118-3" on dedi-
     cated hash functions.

OpenBSD 3.0                      June 4, 2001                                1
