Home Code Other Software

Table of Contents


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:


digest -v digest -h digest [-b BUFSIZE] algorithm [file] …

Run digest -h to see a list of algorithms supported by your Python installation.

Getting and installing digest


pip install digest

Installing from source

Clone the repo, and run the setup:

$ git clone https://github.com/bmc/digest
$ cd digest
$ python setup.py install

But pip is easier…


Brian M. Clapper, bmc@clapper.org

Copyright © 2008-2022 Brian M. Clapper


BSD-style license. See the accompanying license file.


I gladly accept patches from their original authors. Feel free to email patches to me or to fork the GitHub repository and send me a pull request. Along with any patch you send: