mhchia / py-multihash

Multihash implementation in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

docs Documentation Status
tests
Travis-CI Build Status Requirements Status
Coverage Status Coverage Status

Multihash implementation in Python

Multihash is a protocol for differentiating outputs from various well-established cryptographic hash functions, addressing size + encoding considerations.

It is useful to write applications that future-proof their use of hashes, and allow multiple hash functions to coexist. See jbenet/random-ideas#1 for a longer discussion.

License

MIT Licensed © 2018 Carson Farmer, 2016 Protocol Labs Inc.

Installation

pip install git+https://github.com/carsonfarmer/py-multihash

Documentation

https://py-multihash.readthedocs.io/

Contributing

See our contribution guidelines for a development workflow and details on how to contribute.

Notes

This package is a direct port of the official Node/Javascript version. As this projects matures, it may become more 'Pythonic'.

Obsolete and deprecated hash functions are included in this package. MD4, MD5 and SHA-1 should no longer be used for cryptographic purposes, but since many such hashes already exist they are included in the multihash specification and may be implemented in multihash libraries such as this one.

About

Multihash implementation in Python

License:MIT License


Languages

Language:Python 100.0%