diff options
author | Jesse Luehrs <doy@tozt.net> | 2015-03-15 16:22:13 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2015-03-15 16:22:13 -0400 |
commit | d6578f1357f7ae10feb9e4a4fae1a1953739557a (patch) | |
tree | fc2df284ecbdd029715deeec1e324f79492b7beb /tests | |
parent | ea9be053977c5730c8440685437abf0230062bb5 (diff) | |
download | matasano-d6578f1357f7ae10feb9e4a4fae1a1953739557a.tar.gz matasano-d6578f1357f7ae10feb9e4a4fae1a1953739557a.zip |
if we disallow control characters, we get much more reasonable results
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib.rs b/tests/lib.rs index ac13fb2..b537bd0 100644 --- a/tests/lib.rs +++ b/tests/lib.rs @@ -36,7 +36,7 @@ fn problem_4 () { .lines() .map(|line| line.unwrap().from_hex().unwrap()) .collect::<Vec<Vec<u8>>>(); - assert_eq!(matasano::find_single_byte_xor_encrypted_string(&possibles[..]), b"nOW\0THAT\0THE\0PARTY\0IS\0JUMPING*"); + assert_eq!(matasano::find_single_byte_xor_encrypted_string(&possibles[..]), b"Now that the party is jumping\n"); } #[test] |