function

hash

A built-in CFEngine function in the data category that returns a string. hash is not called from the policy on your hosts.

Signature
hash(string, option)
Parameters
  1. string Input text (.*)
  2. option Hash or digest algorithm (md5,sha1,sha256,sha384,sha512)
Returns
string
Category
data