Henry Wong wrote:You are not being consistent. Going one direction, you used the reverse() method. Going the other direction, you used the reverseBytes() method. Since these two methods do two different things, it would make sense that you don't get the original number back.
Nitesh Kant wrote:Since this is related to encrypt/decrypt, moving it to security forum.
Now, can you help out me to get the results as only 6 numeric/alphanumeric unique code.