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.
Please see the docstring in the multihash module for more information.
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
File details
Details for the file pymultihash-0.7.0.tar.gz
.
File metadata
- Download URL: pymultihash-0.7.0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1bea9cf95317ea88d553d582b740b12b20f01eaf9e89bdba26c7488cfed41cf |
|
MD5 | e90cd1ed368fe520d8b97eb591a736dc |
|
BLAKE2b-256 | 042540d77cdaccc9ea6c9371d874e19768faf542eb3f3b0560cbb3c6fffa7322 |
File details
Details for the file pymultihash-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: pymultihash-0.7.0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f32c20472b8886577ec0b7bfebc9b527d93f34ce2b4b568d4eb08f7f353add0 |
|
MD5 | 3ab4d39a88a16ccf6c33fcb3a1b478f2 |
|
BLAKE2b-256 | 53fb1dec40d5c066863ae0bd2b8d8bca41781ddc215dd04e9a19c7e65e152901 |