This topic is locked

how to store password as encryted

1/22/2007 10:58:22 PM
PHPRunner General questions
C
chugha author

Hi
how i can store password field as encrypted into my database

J
Jane 1/23/2007

Hi,
to store encrypted password in your database use VARCHAR field. Only make sure that the size of your field is enough for encrypted passwords.

If you have table with usernames and passwords you can encrypt existent passwords with following script:

http://www.xlinesoft.com/articles/encrypt_passwords.htm