How to use [crypto.hash.sha512]

The reference page of crypto.hash.sha512 has its arguments, constraints and declaration.

SHA512 hash some message or payload