Updated the signature and verify operations to use a sha512 hash.
Added digest computation function.