3 releases (breaking)

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

#2838 in Magic Beans

Download history 1266/week @ 2024-03-14 1072/week @ 2024-03-21 605/week @ 2024-03-28 799/week @ 2024-04-04 3572/week @ 2024-04-11 2940/week @ 2024-04-18 2591/week @ 2024-04-25 3945/week @ 2024-05-02 3524/week @ 2024-05-09 6642/week @ 2024-05-16 7663/week @ 2024-05-23 5715/week @ 2024-05-30 2422/week @ 2024-06-06 2287/week @ 2024-06-13 2095/week @ 2024-06-20 1242/week @ 2024-06-27

8,376 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