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
Built Distribution
Hashes for pymultihash-0.8.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7fa840b24bd6acbd6b073fcd330f10e15619387297babf1dd13ca4dae6e8209 |
|
MD5 | e229cf2bf30f06f1ac0032b69cc8eb31 |
|
BLAKE2b-256 | 1e1c570697fafd87adcec479b9ad34dc8371a363aa14bd9edaece5f0b8066903 |