Skip to main content

Python implementation of the multihash specification

Project description

This is an implementation of the multihash specification in Python. The main component in the module is the Multihash class, a named tuple that represents a hash function and a digest created with it, with extended abilities to work with hashlib-compatible hash functions, verify the integrity of data, and encode itself to a byte string in the binary format described in the specification (possibly ASCII-encoded). The decode() function can be used for the inverse operation, i.e. converting a (possibly ASCII-encoded) byte string into a Multihash object.

For more information, please see the documentation under the docs directory and the docstrings in the multihash package. Ready-to-read documentation is also available in https://pymultihash.readthedocs.io/.

This package requires at least Python 3.4.

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

planetmint-pymultihash-0.9.2.tar.gz (18.6 kB view details)

Uploaded Source

File details

Details for the file planetmint-pymultihash-0.9.2.tar.gz.

File metadata

File hashes

Hashes for planetmint-pymultihash-0.9.2.tar.gz
Algorithm Hash digest
SHA256 dc04c19aa651669d5c0eb89bcefe5d52de822b5c10b62c0e3d8f40b63edeabb5
MD5 4e3377a1eb9352b96a6fdc5420f3aab7
BLAKE2b-256 ec018e44f851031d4584ccddc63d2771abf4a4fee419422d2811b986dcb5e3b8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page