How to use [crypto.hash.sha256]

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

SHA256 hash some message or payload