View Single Post
  #3 (permalink)  
Old 04-11-2006, 13:52
Sayonara Sayonara is offline
Junior Member
 
Join Date: Nov 2006
Location: Leeds, UK
Posts: 24
Default

If you are storing passwords in a MySQL database, the solution with the best simplicity/strength tradeoff is to use the built-in AES_ENCRYPT() function.

Refer to the manual, it is quite simple!

You can also use this to encrypt data used in your PHP scripts, in the same way that you can use MySQL to perform mathematical operations.
Reply With Quote