Solutions for CryptoPals in Rust.
- Use nix and run
nix-shell
- Run
cp hooks/pre-commit .git/hooks/
- (Optional) run
rm src/bin/??.rs && echo > src/utils.rs
to remove solutions
- Run (fast) tests:
cargo test
- Run the test watcher:
cargo watch -x test
orcargo tdd <number>
- Run an individual challenge:
cargo solve <number>
- Scaffold a new challenge:
cargo scaffold <number>