3 releases (breaking)

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

#8 in #proof-of-work

Download history 2779/week @ 2024-07-21 2379/week @ 2024-07-28 2481/week @ 2024-08-04 1684/week @ 2024-08-11 2308/week @ 2024-08-18 2873/week @ 2024-08-25 1743/week @ 2024-09-01 1545/week @ 2024-09-08 1304/week @ 2024-09-15 2317/week @ 2024-09-22 2132/week @ 2024-09-29 2020/week @ 2024-10-06 1489/week @ 2024-10-13 2357/week @ 2024-10-20 1922/week @ 2024-10-27 1578/week @ 2024-11-03

7,426 downloads per month
Used in 26 crates (4 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