SITE SEARCH

Google
 

Thursday, June 19, 2008

Encrypting Password Field in MySQL using MD5

The Following sample code shows the MD5 functions usage in MySQL to encrypt your password fields

Now let's insert a record with MD5 applied to the password field.

mysql> INSERT INTO user_md5 VALUES ('member1',MD5('secretpassword') );

No comments: