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

View file

@ -78,6 +78,7 @@ Version 0.7 (July 2013)
* extra: `BigInt`, `BigUint` implement numeric and comparison traits.
* extra: `term` uses terminfo now, is more correct.
* extra: `arc` functions converted to methods.
* extra: Implementation of fixed output size variations of SHA-2.
* Tooling
* `unused_unsafe` lint mode for detecting unnecessary `unsafe` blocks.

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