summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2015-04-05 23:50:33 -0400
committerJesse Luehrs <doy@tozt.net>2015-04-05 23:50:33 -0400
commit3dbdba1a7f5f0094c1d3075b3ca91b07196fcbf2 (patch)
tree2cd8a64ef80fc654441ed68277755f4a6fe0c41b
parentd895cc4c9687cd88b10d34b418eac990091fc8bd (diff)
downloadmatasano-3dbdba1a7f5f0094c1d3075b3ca91b07196fcbf2.tar.gz
matasano-3dbdba1a7f5f0094c1d3075b3ca91b07196fcbf2.zip
whoops, i skipped problem 22!
-rw-r--r--tests/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib.rs b/tests/lib.rs
index f498e1f..da8516d 100644
--- a/tests/lib.rs
+++ b/tests/lib.rs
@@ -475,7 +475,7 @@ fn problem_21 () {
}
#[test]
-fn problem_22 () {
+fn problem_23 () {
let mut mt: matasano::MersenneTwister = rand::thread_rng().gen();
let outputs: Vec<u32> = mt.gen_iter().take(624).collect();
let mut mt2 = matasano::clone_mersenne_twister_from_output(&outputs[..]);
@@ -485,7 +485,7 @@ fn problem_22 () {
}
#[test]
-fn problem_23 () {
+fn problem_24 () {
let key: u16 = rand::thread_rng().gen();
let fixed_suffix = b"AAAAAAAAAAAAAA";
let plaintext: Vec<u8> = rand::thread_rng()