Pre set 2 refactors

This commit is contained in:
2023-04-27 18:37:59 -07:00
parent e5edf80da4
commit 15ae77b719
5 changed files with 110 additions and 11 deletions

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);