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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for planetmint-pymultihash-0.9.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e561e81b8fe8d7a7a33fc2ad57d6c39a6fbf71b2592c47ab21861366d59b9fd1 |
|
MD5 | 6d93157bfbee60cf8908f37dbe8c3ff4 |
|
BLAKE2b-256 | 397a74bd75f5ade2fcfb3401fa7fd746385b3178c66034d4e2b61945b968a016 |