Developer's Daily | Unix by Example |
main | java | perl | unix | dev directory | web log |
dgst, md5, md2, sha1, sha, mdc2, ripemd160 ? message digests |
openssl dgst [?md5│?md2│?sha1│?sha│mdc2│?ripemd160] [?c] [?d] [file...] [md5│md2│sha1│sha│mdc2│ripemd160] [?c] [?d] [file...] |
The digest functions print out the message digest of a supplied file or files in hexadecimal form. |
?c |
print out the digest in two digit groups separated by colons. |
||
?d |
print out BIO debugging information. |
file... |
file or files to digest. If no files are specified then standard input is used. |
The digest of choice for all new applications is SHA1. Other digests are however still widely used. |