/bitcoin_hashes

Simple library which implements a few hashes and does nothing else

Primary LanguageRustCreative Commons Zero v1.0 UniversalCC0-1.0

Status

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.

Documentation

Contributions

Contributions are welcome, including additional hash function implementations.