dcsimg
Password encryption using message digest
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vinay_Vaze
Posted On:   Tuesday, September 18, 2001 10:17 AM

			
I have generated a message digest from
the password entered by the user. I
converted the digest to a string using
the toString, so that I could store
this in a database.

If I try to convert this String back to a byte[] to compare for equality with it gives incorrect results.

Any ideas ?

I would appreciate if you could reply directly to vinay.g.vaze@boeing.com

Thanks in advance.

Re: Password encryption using message digest

Posted By:   Eugene_Kuleshov  
Posted On:   Tuesday, September 18, 2001 01:14 PM

When you convert byte[] to String you may loose something. You have to use conversion to HEX or Base64 representation instead.


And again it was not about password encription but about verification!

About | Sitemap | Contact