$hash

From Scriptwiki
Revision as of 23:57, 17 June 2011 by NaNg (talk | contribs) (Created page with "Returns a hash number based on the number of bits used to calculate it. $hash(text,B) Where '''B''' is a number between 2 and 32. === Examples === $hash(hello world, 2) ...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns a hash number based on the number of bits used to calculate it.

$hash(text,B)

Where B is a number between 2 and 32.

Examples

$hash(hello world, 2)       returns 0
$hash(hello world, 32)      returns 4290291456