Method hash_7_4()
- Method
hash_7_4
int
hash_7_4(string
s
)
int
hash_7_4(string
s
,int
max
)- Description
Return an integer derived from the string
s
. The same string always hashes to the same value, also between processes.If
max
is given, the result will be >= 0 and <max
, otherwise the result will be >= 0 and <= 0x7fffffff.- Note
This function is provided for backward compatibility with code written for Pike up and including version 7.4.
This function is byte-order dependant for wide strings.
- See also
hash_7_6()
, hash_7_0