Uploaded image for project: 'DataFu'
  1. DataFu
  2. DATAFU-86

MD5 truncates leading 0s

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 1.3.0
    • None

    Description

      Because it's converted to a BigInteger
      return new BigInteger(1, md5er.digest(val.getBytes())).toString(16);
      any leading 0s are dropped and the resulting MD5 string will not match one generated from another source.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bridiver Brian Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: