3 releases (breaking)

0.2.0 Jun 24, 2022
0.1.0 Jul 9, 2020
0.0.0 Jun 26, 2020

#31 in #zcash

Download history 342/week @ 2023-12-23 767/week @ 2023-12-30 1275/week @ 2024-01-06 989/week @ 2024-01-13 1588/week @ 2024-01-20 1077/week @ 2024-01-27 1273/week @ 2024-02-03 1218/week @ 2024-02-10 1713/week @ 2024-02-17 512/week @ 2024-02-24 696/week @ 2024-03-02 882/week @ 2024-03-09 1113/week @ 2024-03-16 957/week @ 2024-03-23 608/week @ 2024-03-30 1198/week @ 2024-04-06

4,008 downloads per month
Used in 21 crates (2 directly)

MIT/Apache

87KB
1.5K SLoC

Equihash is a Proof-of-Work algorithm, based on a generalization of the Birthday problem which finds colliding hash values. It was designed to be memory-hard; more specifically, the bottle-neck for parallel implementations of Equihash solvers would be memory bandwidth.

This crate implements Equihash as specified for the Zcash consensus rules. It can verify solutions for any valid (n, k) parameters, as long as the row indices are no larger than 32 bits (that is, ceiling(((n / (k + 1)) + 1) / 8) <= 4).

References

Dependencies

~360KB