cryptopals/examples/set1_2/main.rs

10 lines
194 B
Rust
Raw Normal View History

2023-04-27 04:58:19 +00:00
use cryptopals::{prelude::*, bvec};
fn main() {
assert_eq!(
bvec!("input1.txt").xor_with(&bvec!("input2.txt")).unwrap(),
bvec!("output.txt")
);
println!("pass!")
}