• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

saving password in MYSQL

 
prakash chauhan
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

-thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A common tactic is to convert the password using a one-way hash like MD5 or SHA.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic