WARNING: Spoilers inside.
If you're doing the Cryptopals Crypto Challenges for yourself, I recommend you don't read this code! It's much more fun if you work it out on your own. Really, it is.
If you've already done the challenges and are interested in different ways to do it using different techniques and different programming languages, welcome and read on!
First, make sure you've got Rust installed (duh). Rustup is the recommended way of installing Rust, but you know that, right?
To run without printing output:
$ cargo test
Simple! If you see ''test-result: OK'' print it, it means the code is working. Hoorah!
To run with output printed, and also with backtraces printed out for use during development:
$ RUST_BACKTRACE=1; cargo test -- --nocapture
Now you've got no excuse to get coding.
Challenge | Status |
---|---|
1 | ☑ |
2 | ☑ |
3 | ☐ |
4 | ☐ |
5 | ☐ |
6 | ☐ |
7 | ☐ |
8 | ☐ |
Challenge | Status |
---|---|
9 | ☐ |
10 | ☐ |
11 | ☐ |
12 | ☐ |
13 | ☐ |
14 | ☐ |
15 | ☐ |
16 | ☐ |
Challenge | Status |
---|---|
17 | ☐ |
18 | ☐ |
19 | ☐ |
20 | ☐ |
21 | ☐ |
22 | ☐ |
23 | ☐ |
24 | ☐ |
Challenge | Status |
---|---|
25 | ☐ |
26 | ☐ |
27 | ☐ |
28 | ☐ |
29 | ☐ |
30 | ☐ |
31 | ☐ |
32 | ☐ |
Challenge | Status |
---|---|
33 | ☐ |
34 | ☐ |
35 | ☐ |
36 | ☐ |
37 | ☐ |
38 | ☐ |
39 | ☐ |
40 | ☐ |
Challenge | Status |
---|---|
41 | ☐ |
42 | ☐ |
43 | ☐ |
44 | ☐ |
45 | ☐ |
46 | ☐ |
47 | ☐ |
48 | ☐ |
Challenge | Status |
---|---|
49 | ☐ |
50 | ☐ |
51 | ☐ |
52 | ☐ |
53 | ☐ |
54 | ☐ |
55 | ☐ |
56 | ☐ |
Challenge | Status |
---|---|
57 | ☐ |
58 | ☐ |
59 | ☐ |
60 | ☐ |
61 | ☐ |
62 | ☐ |
63 | ☐ |
64 | ☐ |
Yes, I'm aware I have a long way to go.
If you've got any questions, please write them all down in invisible ink on a roll of parchment, squeeze the parchment into a glass bottle and throw into the Atlantic Ocean. If you haven't heard back within 13 days, it means that the mighty Ægir has deemed your questions unworthy of response.
Or, y'know, just use email or whatever.