cryptopals/examples/set1_1/main.rs

11 lines
282 B
Rust
Raw Permalink Normal View History

2023-04-27 04:58:19 +00:00
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!")
}