Details
-
Improvement
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
2.0.0-alpha
-
None
-
None
-
None
Description
In HDFS-3859 Todd noted that we don't have a SHA1 implementation. While implementing SHA1 I noted that TestMD5Hash is missing the NIST test vectors (so we don't actually test that the function we're using is MD5, at all!).
This Jira implements SHA1 in the same fashion as MD5, and adds the NIST test vectors to both MD5 and SHA1.