summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2015-05-13 12:25:11 -0400
committerJesse Luehrs <doy@tozt.net>2015-05-13 12:25:11 -0400
commita6385b210242b32c071e874a9662165468710b87 (patch)
tree94491ba0919a73c205344698fae22395c051125e /src/lib.rs
parentccfafce47eadb72cfebe18c8c9f3d627ef51aab2 (diff)
downloadmatasano-a6385b210242b32c071e874a9662165468710b87.tar.gz
matasano-a6385b210242b32c071e874a9662165468710b87.zip
refactor sha1 to allow passing in an initial state
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 8452240..112f968 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -28,6 +28,8 @@ pub use primitives::repeating_key_xor;
pub use random::MersenneTwister;
pub use random::mt19937_stream_cipher;
pub use sha1::sha1;
+pub use sha1::pad_sha1;
+pub use sha1::sha1_with_state;
pub use sha1::sha1_mac;
pub use crack::BlockCipherMode;
pub use crack::find_aes_128_ecb_encrypted_string;