File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to encode the password in database ?

 
benny rusli
Ranch Hand
Posts: 72
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello people,

in my project, i am trying to encode the password using md5(MessageDigest) before inserting the password into db. This approach happens in the registration.jsp. The code that i made, shown like this :




Is this approach, that is normally used in common jsp page. I am wondering if someone could tell me another approach to aid a maximal security result. Any help will be appreciated.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"brusli",
We're a friendly bunch here at the Ranch, but we take display names very seriously.

Your display name was valid, now it is not. Please change it back immediately or your account will be deleted.

thanks,
Dave.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic