FNVHash32uint return the uint32 value of fnv hash 32 of b.
(b []byte)
| 58 | |
| 59 | // FNVHash32uint return the uint32 value of fnv hash 32 of b. |
| 60 | func FNVHash32uint(b []byte) uint32 { |
| 61 | return binary.BigEndian.Uint32(FNVHash32B(b)) |
| 62 | } |
| 63 | |
| 64 | // DoubleHashB calculates hash(hash(b)) and returns the resulting bytes. |
| 65 | func DoubleHashB(b []byte) []byte { |