github.com/argoproj/argo-cd@v1.8.7/util/hash/hash.go (about) 1 package hash 2 3 import ( 4 "hash/fnv" 5 ) 6 7 // FNVa computes a FNVa hash on a string 8 func FNVa(s string) uint32 { 9 h := fnv.New32a() 10 _, _ = h.Write([]byte(s)) 11 return h.Sum32() 12 }