[ https://issues.apache.org/jira/browse/DATAFU-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266567#comment-14266567
]
William Watson commented on DATAFU-86:
--------------------------------------
This appears to be fixed in the newest code. Anyone know why this bug wasn't previously tracked
or closed?
> MD5 truncates leading 0s
> ------------------------
>
> Key: DATAFU-86
> URL: https://issues.apache.org/jira/browse/DATAFU-86
> Project: DataFu
> Issue Type: Bug
> Reporter: Brian Johnson
>
> 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)
|