Added in 1.9.4

$hash(text, B)

Returns a hash number based on text where B is the number of bits to use when calculating the hash number.

Parameters

text - Text to hash.
B - Number of bits to use. (min 2, max 32)