function

hashmatch

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

Signature
hashmatch(string, option, string)
Parameters
  1. string Filename to hash ("?(/.*))
  2. option Hash or digest algorithm (md5,sha1,sha256,sha384,sha512)
  3. string ASCII representation of hash for comparison ([a-zA-Z0-9_$(){}\[\].:]+)
Returns
context
Category
data