Most people will store persistent salt in a configuration file. This is good, but the whole point of using SALT is to prevent your data from being read by an external source.
I saw how many people actually store salt in the database in the accounts field. Here's a twist though. It was uniquely created when creating an account, so each user has a unique salt.
It's not about salt, though - about how you encrypt data.
sha1($password.md5(md5($password.md5($salt))))
Even with salt, you probably can never crack it. Therefore, do not worry about storing it in your database if you decide to switch to a unique account. Just make sure your encryption process is strong!
blanknamefornow
source share