Crate hashx

source ·
Expand description

§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)

Structs§

  • Pre-built hash program that can be rapidly computed with different inputs
  • Builder for creating HashX instances with custom settings
  • HashX-style random number generator built on SipHash1,3
  • Internal state of one SipHash instance

Enums§

  • Details about a compiler error
  • Errors that could occur while building a hash function
  • Effective HashX runtime for a constructed program
  • Option for selecting a HashX runtime