allow varying salt length in password hasher
added SHA512 hashing method FS#2663