3 releases (breaking)

0.11.0 Jul 13, 2022
0.10.0 Feb 24, 2022
0.7.4 Jul 3, 2020

#492 in Cryptography

Download history 108/week @ 2022-05-30 26/week @ 2022-06-06 10/week @ 2022-06-13 35/week @ 2022-06-20 33/week @ 2022-06-27 15/week @ 2022-07-04 58/week @ 2022-07-11 60/week @ 2022-07-18 209/week @ 2022-07-25 18/week @ 2022-08-01 302/week @ 2022-08-08 72/week @ 2022-08-15 33/week @ 2022-08-22 26/week @ 2022-08-29 50/week @ 2022-09-05 42/week @ 2022-09-12

153 downloads per month
Used in groestlcoin

CC0 license

190KB
4.5K SLoC

Status

Groestlcoin Hashes Library

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

Documentation

Minimum Supported Rust Version (MSRV)

This library should always compile with any combination of features on Rust 1.41.1.

Contributions

Contributions are welcome, including additional hash function implementations.


lib.rs:

Rust hashes library.

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

Dependencies

~0.4–0.8MB
~15K SLoC