summary refs log tree commit diff
path: root/src/libextra/crypto/sha1.rs
AgeCommit message (Collapse)AuthorLines
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-2/+1
2013-06-24Create a Digest trait for common methods on digests and convert the SHA-1 ↵Palmer Cox-31/+22
implementation to use it. The DigestUtil trait was created for helper methods since default methods still have issues.
2013-06-24Improve the SHA-1 implementationPalmer Cox-234/+203
* Rename struct Sha1State to Sha1 * Remove all use of @ types * Use fixed length vectors * Move all of the inner functions from inside sha1() to top level, private functions * Sha1 instances are now created via Sha1::new() * Update all constant names to uppercase * Remove unecessary assert_eq!s * Remove check_vec_eq() helper function; use vec::eq() instead
2013-06-23Create a crypto submodule and move the SHA-1 implementation into it.Palmer Cox-0/+410