summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
blob: 6cfb2d310c431bfe654d337c4332906493f1bf2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
extern crate rustc_serialize as serialize;
extern crate openssl;
extern crate rand;
extern crate time;

mod aes;
mod base64;
mod crack;
mod data;
mod http;
mod primitives;
mod random;

pub use aes::decrypt_aes_128_ecb;
pub use aes::decrypt_aes_128_cbc;
pub use aes::encrypt_aes_128_ecb;
pub use aes::encrypt_aes_128_cbc;
pub use aes::aes_128_ctr;
pub use aes::aes_128_ctr_with_counter;
pub use base64::to_base64;
pub use http::parse_query_string;
pub use http::create_query_string;
pub use primitives::fixed_xor;
pub use primitives::pad_pkcs7;
pub use primitives::unpad_pkcs7;
pub use primitives::repeating_key_xor;
pub use random::MersenneTwister;
pub use random::mt19937_stream_cipher;
pub use crack::BlockCipherMode;
pub use crack::find_aes_128_ecb_encrypted_string;
pub use crack::detect_ecb_cbc;
pub use crack::crack_padded_aes_128_ecb;
pub use crack::crack_padded_aes_128_ecb_with_prefix;
pub use crack::crack_querystring_aes_128_ecb;
pub use crack::crack_cbc_bitflipping;
pub use crack::crack_cbc_padding_oracle;
pub use crack::find_single_byte_xor_encrypted_string;
pub use crack::crack_single_byte_xor;
pub use crack::crack_repeating_key_xor;
pub use crack::crack_fixed_nonce_ctr_statistically;
pub use crack::recover_mersenne_twister_seed_from_time;
pub use crack::clone_mersenne_twister_from_output;
pub use crack::recover_16_bit_mt19937_key;
pub use crack::recover_mt19937_key_from_time;
pub use crack::crack_aes_128_ctr_random_access;