On Mon, Dec 5, 2011 at 5:33 PM, Tommy Chheng <tommy.chh...@gmail.com> wrote:
> Thanks, i'll debug this some more. I'm using DBpedia's extraction code.
>

> val md5 = (new BigInteger(1, messageDigest)).toString(16)

It's eating the leading zero when you're converting it to a BigInt.
Not sure why, when AFAIK MessageDigest provides provides a toString method()

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to