summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
blob: 14e896a792ff408587820ed8c78ef6d5c3c7d7e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
extern crate "rustc-serialize" as serialize;
extern crate openssl;

mod aes;
mod base64;
mod data;
mod primitives;
mod xor;

pub use aes::decrypt_aes_128_ecb;
pub use aes::decrypt_aes_128_cbc;
pub use aes::find_aes_128_ecb_encrypted_string;
pub use base64::to_base64;
pub use primitives::fixed_xor;
pub use primitives::pad_pkcs7;
pub use primitives::repeating_key_xor;
pub use xor::find_single_byte_xor_encrypted_string;
pub use xor::crack_single_byte_xor;
pub use xor::crack_repeating_key_xor;