switched to sha512