13 lines
275 B
Rust
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());
|
|
}
|
|
}
|
|
} |