These docs are for v1.3.0. Click to read the latest docs for v1.6.

sha512

Hashes data using sha512 and stores result in memory pointed to by hash.

Hashes data using sha512 and stores result in memory pointed to by hash.

Parameters

  • data - Data you want to hash

  • length - Data length

  • hash - Hash pointer

Example

checksum calc_hash;
sha512( data, length, &calc_hash );
eos_assert( calc_hash == hash, "invalid hash" );