i’m using MD5 hashing to encrypt passwords for a program. But it is not creating all the characters and that to some are unreadable.
Here is an screenshot.
link-http://i46.tinypic.com/2qvf2o2.jpg
Any help is appreciated
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Presumably you want to convert the array of bytes returned by MD5 to a hexidecimal string for display. Something like d131dd02c5e6eec4.
Here’s how you can do that:
In Java, how do I convert a byte array to a string of hex digits while keeping leading zeros?