Skip to main content

Calculate message digests of files or standard input

Project description

Calculate a cryptohash on a file or standard input.


digest -h digest [-e encoding] algorithm [file] …

The digest utility calculates message digests of files or, if no file is specified, standard input. The set of supported digests depends on the current Python interpreter and the version of OpenSSL present on the system. However, at a minimum, digest supports the following algorithms:

Argument Algorithm
md5 The MD5 algorithm
sha1 The SHA-1 algorithm
sha224 The SHA-224 algorithm
sha256 The SHA-256 algorithm
sha384 The SHA-384 algorithm
sha512 The SHA-512 algorithm

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

digest- (3.6 kB view hashes)

Uploaded source

Built Distribution

digest- (4.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page