Форумы / Cotonti / Development / Genoa improved security

password storage in database hash

GHengeveld
#34753 23.06.2012 14:47

The mainurl isn't secret or random, so I don't think it's a useful addition. The current idea is to use hash('sha256', $cfg['salt'].$user_salt.$user_password) with $cfg['salt'] being optional and $user_salt being randomly generated by cot_unique() when the password is changed.