Scalar FunctionsHash Functions
hash_many
Returns a combined hash value of multiple values. Each value is hashed individually and then the hashes are combined.
Syntax
hash_many(s1)Parameters
Prop
Type
Returns: long
Examples
Example 1 — Combined hash of warrior name, clan, and weapon
print hash_many("Ragnar", "Lothbrok", "axe")| print_0 (long) |
|---|
| -8339595046519815640 |
Example 2 — Hash combining target and year
print hash_many("Lindisfarne", 793)| print_0 (long) |
|---|
| -4932868718789865656 |