Method Hash32
Hash32(uint)
Hashes using constants generated from a program that maximizes the avalanche effect, independence of output bit changes, and the probability of a change in each output bit if any input bit is changed. Source: https://github.com/h2database/h2database/blob/master/h2/src/test/org/h2/test/store/CalculateHashConstant.java
Declaration
public static uint Hash32(uint x)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | x | Unsigned integer to hash |
Returns
| Type | Description |
|---|---|
| uint | The calculated hash value |