SHA512 code added