How to use [crypto.hash.sha1]

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

SHA1 hash some message or payload