cryptopals/examples/set1_1/main.rs
2023-04-26 21:58:19 -07:00

11 lines
282 B
Rust

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!")
}