tor_hscrypto/pow/v1.rs
1//! `v1` client puzzle using [`equix`]
2//!
3//! This was the first proof-of-work scheme defined for Tor, and currently it's the only one we
4//! have.
5//!
6//! Originally defined in proposal 327, and now part of the main specification:
7//! <https://spec.torproject.org/hspow-spec/index.html>
8
9mod challenge;
10mod err;
11mod solve;
12mod types;
13mod verify;
14
15pub use equix::{RuntimeOption, SolutionByteArray};
16pub use err::{RuntimeErrorV1, SolutionErrorV1};
17pub use solve::{Solver, SolverInput};
18pub use types::*;
19pub use verify::Verifier;