Problem: was occasionally produced invalid security tokens.
Java's BigInteger strips leading zeros. This causes resulting MD5 hashes to be incorrect.
Pad the security token (MD5 hash) with leading 0s until 32 characters in length.
while ( token.length() < 32 ) { token = "0" + token; } // pad with 0's

Special thanks goes out to Shazin Shafi Ahamed ( for reporting this bug and providing details on a possible patch.


Browse the blog archives or subscribe to the full-text feed

Let us capture, store, and update webpage screenshots for you.

See Plans and Pricing
No Risks, Pay-as-you-go