Skip to content

Simplified Keccak(SHA3) implementation in Rust, with efficient parallel computing.

Notifications You must be signed in to change notification settings

gbaranski/reccak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reccak

Simplified SHA3 Hash function written in Rust.

Usage

To calculate hash of some input you can either pass it as an argument

$ cargo run --release hash -- <some-input>

Using rayon

To reverse hashes(defined in src/reverse_hash.rs):

cargo run --release --bin reverse-hash-rayon

Using custom thread pool

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

About

Simplified Keccak(SHA3) implementation in Rust, with efficient parallel computing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages