12-10-2010 12:06 AM
I used the following code to to verify activation codes for my application. Some users complained that the activation code were invalid. However I verified the activation codes on my own device and it worked. Do some BlackBerry get different result for SHA1Digest or Random function with the same parameters?
Solved! Go to Solution.
12-10-2010 12:46 AM - edited 12-10-2010 12:46 AM
SHA1Digest algorithm is same for all platform.
but getBytes() method can return different values depending on encoding used in device or server.
so use consistent encoding every every.