#random #puzzle

hashx

Hash function family designed for ASIC-resistant client puzzles

11 releases

new 0.3.1 May 1, 2025
0.2.2 Jan 7, 2025
0.2.1 Dec 2, 2024
0.2.0 Sep 30, 2024
0.1.2 Oct 2, 2023

#1695 in Cryptography

Download history 689/week @ 2025-01-14 723/week @ 2025-01-21 421/week @ 2025-01-28 4926/week @ 2025-02-04 882/week @ 2025-02-11 711/week @ 2025-02-18 749/week @ 2025-02-25 388/week @ 2025-03-04 781/week @ 2025-03-11 760/week @ 2025-03-18 1001/week @ 2025-03-25 747/week @ 2025-04-01 23891/week @ 2025-04-08 2713/week @ 2025-04-15 1236/week @ 2025-04-22 1556/week @ 2025-04-29

29,475 downloads per month
Used in 64 crates (via equix)

LGPL-3.0-only

125KB
2.5K SLoC

hashx

hashx: Rust reimplementation of tevador's HashX ASIC-resistant hash function

This is an ASIC-resistant hash function designed by tevador as a lightweight variant of RandomX's SuperscalarHash, optimized for Tor's client puzzle use case. Check out tevador's dev log for more information.

This is for Tor client puzzle support in Arti. (#889)

Dependencies

~1–1.6MB
~37K SLoC