Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3868

Add SHA1 implementation and add NIST test vectors

    XMLWordPrintableJSON

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.

      Attachments

        1. hdfs-3868.txt
          15 kB
          Andy Isaacson

        Activity

          People

            adi2 Andy Isaacson
            adi2 Andy Isaacson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: