This is the Rust version of the original found here. This can be used as a drop-in replacement for the reference C version, offering greater runtime safety and memory leaks protection with at-par performance.
- Rust 1.15+
Building, testing and running
cargo test --release
cargo run --release
cargo run --release -- --benchmark
Installing via Cargo
- Make sure Rust 1.15+ is installed.
cargo install mpw-rs
- It will be available on PATH as
mpw-rsfor the current user.
To use the Argon2 based KDF instead of Scrypt:
cargo run --release -- -a next
- This should not be used for production as the Argon2 params are experimental.
Argon2i(pass=1, lanes=4, mem=128MB)as KDF instead of Scrypt.
- This is only available in the Rust version.