Simplified SHA3 Hash function written in Rust.
To calculate hash of some input you can either pass it as an argument
$ cargo run --release hash -- <some-input>
To reverse hashes(defined in src/reverse_hash.rs
):
cargo run --release --bin reverse-hash-rayon
cargo run --release --bin reverse-hash-custom
It will use N workers, where N is number of CPUs. To override this value, use WORKERS
environment variable, e.g with two workers:
WORKERS=2 cargo run --release --bin reverse-hash-custom