DGST

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
NOTES

NAME

dgst, md5, md2, sha1, sha, mdc2, ripemd160 − message digests

SYNOPSIS

openssl dgst [−md5│−md2│−sha1│−sha│mdc2│−ripemd160] [−c] [−d] [file...]

[md5│md2│sha1│sha│mdc2│ripemd160] [−c] [−d] [file...]

DESCRIPTION

The digest functions print out the message digest of a supplied file or files in hexadecimal form.

OPTIONS

−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.

NOTES

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