mirror of
https://github.com/42wim/matterbridge.git
synced 2025-02-22 21:19:02 -08:00
14 lines
290 B
Go
14 lines
290 B
Go
// +build !amd64 purego
|
|
|
|
package farm
|
|
|
|
// Fingerprint64 is a 64-bit fingerprint function for byte-slices
|
|
func Fingerprint64(s []byte) uint64 {
|
|
return naHash64(s)
|
|
}
|
|
|
|
// Fingerprint32 is a 32-bit fingerprint function for byte-slices
|
|
func Fingerprint32(s []byte) uint32 {
|
|
return Hash32(s)
|
|
}
|