Any comments/improvements on this process?
User Table: id, username, password, salt
Storing a New User
- Receive the username (plaintext) from $_POST
- Receive the password (sha512'd using javascript) http://pajhome.org.uk/crypt/md5/sha512.html from $_POST
- Generate a 128 character salt (alphanumeric with symbols) on the server and store it in the salt column
- Prepend the password hash with the salt and save it in the password column