Pre set 2 refactors

This commit is contained in:
pyrex committed 2023-04-27 18:37:59 -07:00
1 parent e5edf80da4
commit 15ae77b719
5 files changed
+110 -11

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ use cryptopals::{prelude::*, bvec};
fn main() {
let input = Vec::from_text(
"Burning 'em, if you ain't quick and nimble
I go crazy when I hear a cymbal");
I go crazy when I hear a cymbal").unwrap();
let output = bvec!("output.txt");
assert_eq!(input.xor_repeating(&b"ICE".to_vec()).unwrap(), output);