5 dgst, md5, md4, md2, sha1, sha, mdc2, ripemd160 - message digests
10 [B<-md5|-md4|-md2|-sha1|-sha|-mdc2|-ripemd160|-dss1>]
18 [B<-prverify filename>]
19 [B<-signature filename>]
22 [B<md5|md4|md2|sha1|sha|mdc2|ripemd160>]
29 The digest functions output the message digest of a supplied file or files
30 in hexadecimal form. They can also be used for digital signing and verification.
38 print out the digest in two digit groups separated by colons, only relevant if
39 B<hex> format output is used.
43 print out BIO debugging information.
47 digest is to be output as a hex dump. This is the default case for a "normal"
48 digest as opposed to a digital signature.
52 output the digest or signature in binary form.
54 =item B<-out filename>
56 filename to output to, or standard output by default.
58 =item B<-sign filename>
60 digitally sign the digest using the private key in "filename".
62 =item B<-verify filename>
64 verify the signature using the the public key in "filename".
65 The output is either "Verification OK" or "Verification Failure".
67 =item B<-prverify filename>
69 verify the signature using the the private key in "filename".
71 =item B<-signature filename>
73 the actual signature to verify.
75 =item B<-rand file(s)>
77 a file or files containing random data used to seed the random number
78 generator, or an EGD socket (see L<RAND_egd(3)|RAND_egd(3)>).
79 Multiple files can be specified separated by a OS-dependent character.
80 The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
85 file or files to digest. If no files are specified then standard input is
92 The digest of choice for all new applications is SHA1. Other digests are
93 however still widely used.
95 If you wish to sign or verify data using the DSA algorithm then the dss1
98 A source of random numbers is required for certain signing algorithms, in
101 The signing and verify options should only be used if a single file is
102 being signed or verified.