aspose file tools*
The moose likes JSP and the fly likes how to encode the password in database ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to encode the password in database ?" Watch "how to encode the password in database ?" New topic
Author

how to encode the password in database ?

benny rusli
Ranch Hand

Joined: Jan 15, 2005
Posts: 72
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

Joined: Mar 06, 2001
Posts: 13459

"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.
 
 
subject: how to encode the password in database ?