This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

JavaRanch » Java Forums » Java » JSP
Bookmark "how to encode the password in database ?" Watch "how to encode the password in database ?" New topic

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

Joined: Mar 06, 2001
Posts: 13459

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.

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: how to encode the password in database ?
It's not a secret anymore!