I'm creating hashed passwords using salted sha1 in PHP.
My question is: In MySQL what is the proper character encoding, field type & length to store the result?
Is there anything else in MySQL to consider for password security? Finally are SHA256 or SHA512 practical hashing choices?