• Post Reply Bookmark Topic Watch Topic
  • New Topic

compare 2 encrypted java object

 
HemPushap Kaushik
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am have encrypted the passwords of my change password page using the java.security.messagedigest API and stored in string object.
Can any one pls tell me how to compare these 2 encrypted objects.

Thanks
Hem Pushap Kaushik
 
Joe Ess
Bartender
Posts: 9362
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at this example.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just to nitpick on terminology: A digest (or hash) is not an encryption. Encryptions can be reversed, digests can't.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!