function

hash_to_int

A built-in CFEngine function in the data category that returns an integer. hash_to_int is not called from the policy on your hosts.

Signature
hash_to_int(int, int, string)
Parameters
  1. int Lower inclusive bound (-99999999999,99999999999)
  2. int Upper exclusive bound (-99999999999,99999999999)
  3. string Input string to hash (.*)
Returns
int
Category
data