datafu-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Johnson (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DATAFU-86) MD5 truncates leading 0s
Date Tue, 06 Jan 2015 19:09:34 GMT

     [ https://issues.apache.org/jira/browse/DATAFU-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brian Johnson closed DATAFU-86.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.0

> MD5 truncates leading 0s
> ------------------------
>
>                 Key: DATAFU-86
>                 URL: https://issues.apache.org/jira/browse/DATAFU-86
>             Project: DataFu
>          Issue Type: Bug
>            Reporter: Brian Johnson
>             Fix For: 1.3.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message