permaculture playing cards
The moose likes JDBC and Relational Databases and the fly likes saving password in MYSQL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "saving password in MYSQL" Watch "saving password in MYSQL" New topic

saving password in MYSQL

prakash chauhan
Ranch Hand

Joined: Jun 22, 2007
Posts: 81
Hi All,
how do we save passwords in MySQL, i dont want passwords to appear as they are in the database for anybody to see , how is it achieved?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63540

A common tactic is to convert the password using a one-way hash like MD5 or SHA.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: saving password in MYSQL
It's not a secret anymore!