Skip to content
Simple library which implements a few hashes and does nothing else
Branch: master
Clone or download
apoelstra Merge pull request #58 from stevenroose/hex-error
Create a separate hex::Error type
Latest commit 64e31de Jul 22, 2019


Bitcoin Hashes Library

This is a simple, no-dependency library which implements the hash functions needed by Bitcoin. These are SHA1, SHA256, SHA256d, and RIPEMD160. As an ancilliary thing, it exposes hexadecimal serialization and deserialization, since these are needed to display hashes anway.

Ok, there is one dependency -- byteorder -- which is used to manage endianness.



Contributions are welcome, including additional hash function implementations.

You can’t perform that action at this time.