datafu-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/DATAFU-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14266608#comment-14266608
] 

Matthew Hayes commented on DATAFU-86:
-------------------------------------

Yes this is our top priority for the project right now :)  We have not yet done a release
since we started incubating in Apache.  We are tracking the release tasks in DATAFU-53, which
are mostly complete now.

> 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