Added SHA512 hashing