Go to the first, previous, next, last section, table of contents.


hash

Function: hash { any -> int }
file: 10-C-utils.muf
package: muf
status: alpha

The hash function produces from an arbitrary Muq value a nonnegative fixnum (integer) value appropriate for use as a hash table key. The hash value is based on the contents of constant values and the addresses of variable values.

123' hash
Stack: 123
'a' hash
Stack: 12416
pop "a" hash
Stack: 3494793310839505136
pop "abc" hash
Stack: 3508640010523902048
pop "abcdefg" hash
Stack: 3508640226122871760
pop "abcdefghijk" hash
Stack: 1255154817073630319

See section |secureHash. See section |secureDigest. See section |secureHashCheck. See section secureHash. See section secureHashBinary. See section secureHashFixnum.


Go to the first, previous, next, last section, table of contents.