hash

package
v0.6.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Collection of high performance 32-bit hash functions.

Index

Constants

View Source
const M3Seed = uint32(0x9747b28c)

A default seed for Murmur3

Variables

This section is empty.

Functions

func Bernstein

func Bernstein(data []byte) uint32

Generates a Bernstein Hash.

func FNV1A

func FNV1A(data []byte) uint32

Generates an FNV1A Hash [http://en.wikipedia.org/wiki/Fowler-Noll-Vo_hash_function]

func Jesteress

func Jesteress(data []byte) uint32

Jesteress derivative of FNV1A from [http://www.sanmayce.com/Fastest_Hash/]

func Meiyan

func Meiyan(data []byte) uint32

Meiyan derivative of FNV1A from [http://www.sanmayce.com/Fastest_Hash/]

func Murmur3

func Murmur3(data []byte, seed uint32) uint32

Generates a Murmur3 Hash [http://code.google.com/p/smhasher/wiki/MurmurHash3] Does not generate intermediate objects.

func Yorikke

func Yorikke(data []byte) uint32

Yorikke derivative of FNV1A from [http://www.sanmayce.com/Fastest_Hash/]

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL