| 1 | # go-farm |
| 2 | |
| 3 | *Google's FarmHash hash functions implemented in Go* |
| 4 | |
| 5 | [](https://github.com/dgryski/go-farm/tree/master) |
| 6 | [](https://travis-ci.org/dgryski/go-farm?branch=master) |
| 7 | [](https://coveralls.io/github/dgryski/go-farm?branch=master) |
| 8 | [](https://goreportcard.com/report/github.com/dgryski/go-farm) |
| 9 | [](http://godoc.org/github.com/dgryski/go-farm) |
| 10 | |
| 11 | ## Description |
| 12 | |
| 13 | FarmHash, a family of hash functions. |
| 14 | |
| 15 | This is a (mechanical) translation of the non-SSE4/non-AESNI hash functions from Google's FarmHash (https://github.com/google/farmhash). |
| 16 | |
| 17 | |
| 18 | FarmHash provides hash functions for strings and other data. |
| 19 | The functions mix the input bits thoroughly but are not suitable for cryptography. |
| 20 | |
| 21 | All members of the FarmHash family were designed with heavy reliance on previous work by Jyrki Alakuijala, Austin Appleby, Bob Jenkins, and others. |
| 22 | |
| 23 | For more information please consult https://github.com/google/farmhash |
| 24 | |
| 25 | |
| 26 | ## Getting started |
| 27 | |
| 28 | This application is written in Go language, please refer to the guides in https://golang.org for getting started. |
| 29 | |
| 30 | This project include a Makefile that allows you to test and build the project with simple commands. |
| 31 | To see all available options: |
| 32 | ```bash |
| 33 | make help |
| 34 | ``` |
| 35 | |
| 36 | ## Running all tests |
| 37 | |
| 38 | Before committing the code, please check if it passes all tests using |
| 39 | ```bash |
| 40 | make qa |
| 41 | ``` |
| 42 | |
| 43 | ## License |
| 44 | |
| 45 | As this is a highly derivative work, I have placed it under the same license as the original implementation. See the |
| 46 | LICENSE file for details. |