dgst.1 revision 279265
Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)

Standard preamble:
========================================================================
..
..
.. Set up some character translations and predefined strings. \*(-- will
give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
double quote, and \*(R" will give a right double quote. \*(C+ will
give a nicer C++. Capital omega is used to do unbreakable dashes and
therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
nothing in troff, for use with C<>.
.tr \(*W- . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\}
Escape single quotes in literal strings from groff's Unicode transform.

If the F register is turned on, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.

Avoid warning from groff about undefined register 'F'.
.. .nr rF 0 . if \nF \{ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{ . nr % 0 . nr F 2 . \} . \} .\} .rr rF
Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] .\} . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents . \" corrections for vroff . \" for low resolution devices (crt and lpr) \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} ========================================================================

Title "DGST 1"
DGST 1 "2015-01-08" "0.9.8zd" "OpenSSL"
For nroff, turn off justification. Always turn off hyphenation; it makes
way too many mistakes in technical documents.
"NAME"
dgst, md5, md4, md2, sha1, sha, mdc2, ripemd160 - message digests
"SYNOPSIS"
Header "SYNOPSIS" \fBopenssl dgst [-md5|-md4|-md2|-sha1|-sha|-mdc2|-ripemd160|-dss1] [-c] [-d] [-hex] [-binary] [-out filename] [-sign filename] [-passin arg] [-verify filename] [-prverify filename] [-signature filename] [-hmac key] [file...]

[md5|md4|md2|sha1|sha|mdc2|ripemd160] [-c] [-d] [file...]

"DESCRIPTION"
Header "DESCRIPTION" The digest functions output the message digest of a supplied file or files in hexadecimal form. They can also be used for digital signing and verification.
"OPTIONS"
Header "OPTIONS"
"-c" 4
Item "-c" print out the digest in two digit groups separated by colons, only relevant if \fBhex format output is used.
"-d" 4
Item "-d" print out \s-1BIO\s0 debugging information.
"-hex" 4
Item "-hex" digest is to be output as a hex dump. This is the default case for a \*(L"normal\*(R" digest as opposed to a digital signature.
"-binary" 4
Item "-binary" output the digest or signature in binary form.
"-out filename" 4
Item "-out filename" filename to output to, or standard output by default.
"-sign filename" 4
Item "-sign filename" digitally sign the digest using the private key in \*(L"filename\*(R".
"-passin arg" 4
Item "-passin arg" the private key password source. For more information about the format of arg see the \s-1PASS PHRASE ARGUMENTS\s0 section in openssl\|(1).
"-verify filename" 4
Item "-verify filename" verify the signature using the public key in \*(L"filename\*(R". The output is either \*(L"Verification \s-1OK\*(R"\s0 or \*(L"Verification Failure\*(R".
"-prverify filename" 4
Item "-prverify filename" verify the signature using the the private key in \*(L"filename\*(R".
"-signature filename" 4
Item "-signature filename" the actual signature to verify.
"-hmac key" 4
Item "-hmac key" create a hashed \s-1MAC\s0 using \*(L"key\*(R".
"-rand file(s)" 4
Item "-rand file(s)" a file or files containing random data used to seed the random number generator, or an \s-1EGD\s0 socket (see RAND_egd\|(3)). Multiple files can be specified separated by a OS-dependent character. The separator is ; for MS-Windows, , for OpenVMS, and : for all others.
"file..." 4
Item "file..." file or files to digest. If no files are specified then standard input is used.
"NOTES"
Header "NOTES" The digest of choice for all new applications is \s-1SHA1.\s0 Other digests are however still widely used.

If you wish to sign or verify data using the \s-1DSA\s0 algorithm then the dss1 digest must be used.

A source of random numbers is required for certain signing algorithms, in particular \s-1DSA.\s0

The signing and verify options should only be used if a single file is being signed or verified.