cryptopals/examples/set1_8/main.rs
2023-04-27 20:19:27 -07:00

13 lines
275 B
Rust

use cryptopals::bvecs;
use cryptopals::friendly::likely_ecb;
use cryptopals::prelude::*;
fn main() {
let inputs = bvecs!("inputs.txt");
for input in inputs {
if likely_ecb(&input) {
println!("possible ECB: {}", input.to_hex());
}
}
}