MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / FNVHash32uint

Function FNVHash32uint

crypto/hash/hashfuncs.go:60–62  ·  view source on GitHub ↗

FNVHash32uint return the uint32 value of fnv hash 32 of b.

(b []byte)

Source from the content-addressed store, hash-verified

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

Callers 6

getNextPuzzleFunction · 0.92
getNextVerifierFunction · 0.92
TestGetNextPuzzleFunction · 0.92
TestGetNextVerifierFunction · 0.92
newUniqueIDMethod · 0.92
TestFNVHash32uintFunction · 0.85

Calls 1

FNVHash32BFunction · 0.85

Tested by 3

TestGetNextPuzzleFunction · 0.74
TestGetNextVerifierFunction · 0.74
TestFNVHash32uintFunction · 0.68