There is an existing function for password hashing,

file:lib/util.php
==========
function common_munge_password($password, $id) {
                return md5($password . $id);
}

salted passwords are stored under table 'user' :
   column 'password' varchar(255) comment 'salted password, can be
null for OpenID users',
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to