7.3. Hash Function

Function:

Hash(data []byte) ([]byte)

Compute a SHA-512 hash of the message.

Parameters

data ([]byte) – Arbitrary-length data to hash

Returns

64-byte hash of the message

Return type

[]byte