cryptopals/src/main.rs

65 lines
1.5 KiB
Rust
Raw Normal View History

#![warn(clippy::pedantic)]
#![allow(clippy::cast_possible_truncation)]
#![allow(clippy::cast_precision_loss)]
#![allow(clippy::items_after_statements)]
#![allow(clippy::many_single_char_names)]
#![allow(clippy::module_name_repetitions)]
#![allow(clippy::unnested_or_patterns)]
mod bytes;
mod bytes_base64;
mod cbc;
2022-07-09 17:33:00 +02:00
mod ctr;
mod ecb;
mod md4;
2022-07-30 18:33:42 +02:00
mod mt19937;
mod mtcipher;
2022-06-21 00:33:41 +02:00
mod parser;
2022-09-01 01:30:34 +02:00
mod rsa;
2022-03-23 15:06:16 +01:00
mod set1;
2022-04-14 03:42:42 +02:00
mod set2;
2022-07-02 16:42:36 +02:00
mod set3;
mod set4;
mod set5;
mod sha1;
mod utils;
2022-03-23 15:06:16 +01:00
fn main() {
const RUN_ALL: bool = false;
if RUN_ALL {
set1::challenge1();
set1::challenge2();
set1::challenge3();
set1::challenge4();
set1::challenge5();
set1::challenge6();
set1::challenge7();
set1::challenge8();
set2::challenge9();
set2::challenge10();
set2::challenge11();
set2::challenge12();
set2::challenge13();
set2::challenge14();
set2::challenge15();
set2::challenge16();
set3::challenge17();
set3::challenge18();
set3::challenge19();
set3::challenge20();
2022-07-29 15:20:59 +02:00
set3::challenge21();
2022-07-30 18:33:42 +02:00
set3::challenge22();
2022-08-04 20:54:36 +02:00
set3::challenge23();
2022-08-06 17:24:58 +02:00
set3::challenge24();
set4::challenge25();
2022-08-14 18:01:51 +02:00
set4::challenge26();
2022-08-16 02:21:40 +02:00
set4::challenge27();
2022-08-17 01:16:48 +02:00
set4::challenge28();
set4::challenge29();
set4::challenge30();
set4::challenge31();
set4::challenge32();
}
set5::challenge33();
2022-09-01 01:30:34 +02:00
set5::challenge34();
2022-03-23 15:06:16 +01:00
}