Registry / crypto / dgryski-go-farm

dgryski-go-farm

JSON →
library0.0.0-20240924180020-3414d57e47dagogounverified

Package farm implements the FarmHash family of hash functions for Go.

go get github.com/dgryski/go-farm
INSTALL
IMPORT
SIG · DGRYSKI-GO-FARM
D
dgryski-go-farm
cryptogov0.0.0-20240924180020-3414d57e47da
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

farm
✓ github.com/dgryski/go-farm

Computes a 64-bit FarmHash of a byte slice.

package main import ( "fmt" "github.com/dgryski/go-farm" ) func main() { hash := farm.Hash64([]byte("hello")) fmt.Printf("Hash: %d\n", hash) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20240924180020-3414d57e47dalatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
17
Resources
dgryski-go-farm — go get dgryski-go-farm · libregistry