Wouter Oet wrote:getBytes returns an array of bytes (primitive). To convert it into a Byte[] (wrapper) you'll need to create a new Byte[] and set the values of that.
Like this:
Hello,
Thanks for your reply.
OUTPUT:
vpc_SecureHash=5DB0F8628C4801B24110FD52056WEJY5
Converted to=1f8a39f895956b6ebf5ae9268f27cd27
Converted to Original Hash=[B@136a1a1
Please check it again as to how can I convert back the hash (md5)
Best regards