Solutions to set 1
This commit is contained in:
1 parent
6cceb35c3d
commit
e5edf80da4
26 files changed
+1179
No files matched your search
@@ -0,0 +1 @@
|
||||
49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d
|
||||
@@ -0,0 +1,11 @@
|
||||
use cryptopals::prelude::*;
|
||||
|
||||
const INPUT: &'static str = include_str!("input.txt");
|
||||
const OUTPUT: &'static str = include_str!("output.txt");
|
||||
|
||||
fn main() {
|
||||
dbg!(INPUT);
|
||||
dbg!(OUTPUT);
|
||||
assert_eq!(Vec::<u8>::from_hex(INPUT).unwrap().to_b64(), OUTPUT);
|
||||
println!("pass!")
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWtlIGEgcG9pc29ub3VzIG11c2hyb29t
|
||||
Reference in new issue
Block a user