Skip to content

Commit e1b8c67

Browse files
author
Palmer Cox
committed
Improve the SHA-1 implementation
* 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
1 parent c5400a8 commit e1b8c67

File tree

2 files changed

+206
-237
lines changed

2 files changed

+206
-237
lines changed

0 commit comments

Comments
 (0)