allanbreyes / cpr

Cryptopals + Rust!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

❤️‍🩹 cpr 🔓

Solutions for CryptoPals in Rust.

Setup

  • 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

Usage

  • Run (fast) tests: cargo test
  • Run the test watcher: cargo watch -x test or cargo tdd <number>
  • Run an individual challenge: cargo solve <number>
  • Scaffold a new challenge: cargo scaffold <number>

About

Cryptopals + Rust!


Languages

Language:Rust 97.1%Language:Nix 1.6%Language:Shell 1.4%