I have code that works well on Android. When I ported it to my Windows 64-bit machine with JRE 1.6, the code did not work.
When I run the following line of code:
SHA-256 should be the parameter to getInstance()
Link for the list of algorithms supported for message digest