Implement the fixed output size versions of the SHA-2 digest functions.

This commit is contained in:
Palmer Cox 2013-06-23 19:16:57 -04:00
parent 89eef0b139
commit 711273f5b4
3 changed files with 1128 additions and 0 deletions

1125
src/libextra/crypto/sha2.rs Normal file

File diff suppressed because it is too large Load diff

View file

@ -91,6 +91,8 @@ pub mod treemap;
pub mod digest;
#[path="crypto/sha1.rs"]
pub mod sha1;
#[path="crypto/sha2.rs"]
pub mod sha2;
// And ... other stuff