arti/crates/hashx
Micah Elizabeth Scott 26b5ae9a3c hashx: Use a boxed slice for Program storage
This is a very small change that converts our Vec cheaply into a boxed
slice during program generation. Program generation speed shows no
changes, and there's no change when using compiled hashes, but is a
surprisingly effective 10% speedup to interpreted hash execution.

Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
2023-08-21 15:27:28 -07:00
..
bench hashx/bench: Add cachegrind microbenchmarks 2023-08-18 20:09:40 -07:00
fuzz hashx/fuzz, equix/fuzz: use arti-corpora 2023-08-01 19:34:04 -07:00
src hashx: Use a boxed slice for Program storage 2023-08-21 15:27:28 -07:00
tests Reimplement HashX in Rust 2023-07-27 07:20:06 -07:00
Cargo.toml equix, hashx: Benchmark against C implementation 2023-08-01 19:28:43 -07:00
README.md Reimplement HashX in Rust 2023-07-27 07:20:06 -07:00

README.md

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)