On Mon, Dec 5, 2011 at 5:25 PM, Tommy Chheng <tommy.chh...@gmail.com> wrote: > Most of the time, the function works correctly but on a few cases, it > is incorrect: > > For "Stewie_Griffin.png", I get 2/26/Stewie_Griffin.png but the real > one is 0/02/Stewie_Griffin.png > > Any ideas why the hashing scheme doesn't work sometimes?
Haven't used Java in a while, but make sure you're computing the right string. brent@brent-desktop:~/pass$ echo -n "Stewie_Griffin.png" | md5sum 026fdc3cd32e81686456d875e668b9f6 - _______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api