dgryski/go-farm

go-farm: a pure-Go farmhash implementation

Go

257

77 commits

updated Sep 24, 2024

See the code

README

go-farm

Google's FarmHash hash functions implemented in Go

Master Branch Master Build Status Master Coverage Status Go Report Card GoDoc

Description

FarmHash, a family of hash functions.

This is a (mechanical) translation of the non-SSE4/non-AESNI hash functions from Google's FarmHash (https://github.com/google/farmhash).

FarmHash provides hash functions for strings and other data. The functions mix the input bits thoroughly but are not suitable for cryptography.

All members of the FarmHash family were designed with heavy reliance on previous work by Jyrki Alakuijala, Austin Appleby, Bob Jenkins, and others.

For more information please consult https://github.com/google/farmhash

Getting started

This application is written in Go language, please refer to the guides in https://golang.org for getting started.

This project include a Makefile that allows you to test and build the project with simple commands. To see all available options:

make help

Running all tests

Before committing the code, please check if it passes all tests using

make qa

License

As this is a highly derivative work, I have placed it under the same license as the original implementation. See the LICENSE file for details.

Significant stargazers

Evert Lammerts

34 followers · starred Sep 2016

Bobby Powers

158 followers · starred Oct 2021

moncho

84 followers · starred Jan 2019

AndreasHolt

8 followers · starred Sep 2025

dgryski/go-farm

go-farm: a pure-Go farmhash implementation

Go

257

77 commits

updated Sep 24, 2024

See the code

README

go-farm

Google's FarmHash hash functions implemented in Go

Master Branch Master Build Status Master Coverage Status Go Report Card GoDoc

Description

FarmHash, a family of hash functions.

This is a (mechanical) translation of the non-SSE4/non-AESNI hash functions from Google's FarmHash (https://github.com/google/farmhash).

FarmHash provides hash functions for strings and other data. The functions mix the input bits thoroughly but are not suitable for cryptography.

All members of the FarmHash family were designed with heavy reliance on previous work by Jyrki Alakuijala, Austin Appleby, Bob Jenkins, and others.

For more information please consult https://github.com/google/farmhash

Getting started

This application is written in Go language, please refer to the guides in https://golang.org for getting started.

This project include a Makefile that allows you to test and build the project with simple commands. To see all available options:

make help

Running all tests

Before committing the code, please check if it passes all tests using

make qa

License

As this is a highly derivative work, I have placed it under the same license as the original implementation. See the LICENSE file for details.

Significant stargazers

Evert Lammerts

34 followers · starred Sep 2016

Bobby Powers

158 followers · starred Oct 2021

moncho

84 followers · starred Jan 2019

AndreasHolt

8 followers · starred Sep 2025