5 dgst, md5, md4, md2, sha1, sha, mdc2, ripemd160 - message digests
10 [B<-md5|-md4|-md2|-sha1|-sha|-mdc2|-ripemd160|-dss1>]
19 [B<-prverify filename>]
20 [B<-signature filename>]
23 [B<md5|md4|md2|sha1|sha|mdc2|ripemd160>]
30 The digest functions output the message digest of a supplied file or files
31 in hexadecimal form. They can also be used for digital signing and verification.
39 print out the digest in two digit groups separated by colons, only relevant if
40 B<hex> format output is used.
44 print out BIO debugging information.
48 digest is to be output as a hex dump. This is the default case for a "normal"
49 digest as opposed to a digital signature.
53 output the digest or signature in binary form.
55 =item B<-out filename>
57 filename to output to, or standard output by default.
59 =item B<-sign filename>
61 digitally sign the digest using the private key in "filename".
65 the private key password source. For more information about the format of B<arg>
66 see the B<PASS PHRASE ARGUMENTS> section in L<openssl(1)|openssl(1)>.
68 =item B<-verify filename>
70 verify the signature using the the public key in "filename".
71 The output is either "Verification OK" or "Verification Failure".
73 =item B<-prverify filename>
75 verify the signature using the the private key in "filename".
77 =item B<-signature filename>
79 the actual signature to verify.
81 =item B<-rand file(s)>
83 a file or files containing random data used to seed the random number
84 generator, or an EGD socket (see L<RAND_egd(3)|RAND_egd(3)>).
85 Multiple files can be specified separated by a OS-dependent character.
86 The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for
91 file or files to digest. If no files are specified then standard input is
98 The digest of choice for all new applications is SHA1. Other digests are
99 however still widely used.
101 If you wish to sign or verify data using the DSA algorithm then the dss1
104 A source of random numbers is required for certain signing algorithms, in
107 The signing and verify options should only be used if a single file is
108 being signed or verified.