skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 2:... HP Open Source Security for OpenVMS Volume 2:...
go to beginning of reference: OpenSSL Command Line Interface (CLI) Reference OpenSSL Command Line Interface (CLI) Reference
go to previous page: crl2pkcs7 crl2pkcs7
go to next page: dhparamdhparam
end of book navigation links


dgst
Description
Options
Notes
 

NAME

dgst, md5, md4, md2, sha1, sha, mdc2, ripemd160 - message digests

Synopsis  

openssl dgst [-md5|-md4|-md2|-sha1|-sha|-mdc2|-ripemd160|-dss1 ] [-c] [-d] [-hex] [-binary] [-out filename] [-sign filename] [-verify filename] [-prverify filename] [-signature filename] [file...] [md5|md4|md2|sha1|sha|mdc2|ripemd160] [-c] [-d] [file...]


return to top 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.


return to top OPTIONS  


return to top NOTES  

The digest of choice for all new applications is SHA1. Other digests are however still widely used.

If you wish to sign or verify data using the DSA algorithm then the dss1 digest must be used.

A source of random numbers is required for certain signing algorithms, in particular DSA.

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


go to previous page: crl2pkcs7 crl2pkcs7
go to next page: dhparamdhparam