summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
blob: 48418abf01cfffe7ced4feb7bf0f923f9a3a29ea (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
extern crate "rustc-serialize" as serialize;
extern crate openssl;

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

pub use aes::BlockCipherMode;
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::find_aes_128_ecb_encrypted_string;
pub use aes::detect_ecb_cbc;
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;