gf: github.com/gogf/gf/g/encoding/ghash Index | Files

package ghash

import "github.com/gogf/gf/g/encoding/ghash"

Package ghash provides some popular hash functions(uint32/uint64) in go.

Index

Package Files

ghash.go

func APHash Uses

func APHash(str []byte) uint32

AP Hash Function

func APHash64 Uses

func APHash64(str []byte) uint64

AP Hash Function 64

func BKDRHash Uses

func BKDRHash(str []byte) uint32

BKDR Hash Function

func BKDRHash64 Uses

func BKDRHash64(str []byte) uint64

BKDR Hash Function 64

func DJBHash Uses

func DJBHash(str []byte) uint32

DJB Hash Function

func DJBHash64 Uses

func DJBHash64(str []byte) uint64

DJB Hash Function 64

func ELFHash Uses

func ELFHash(str []byte) uint32

ELF Hash Function

func ELFHash64 Uses

func ELFHash64(str []byte) uint64

ELF Hash Function 64

func JSHash Uses

func JSHash(str []byte) uint32

JS Hash Function

func JSHash64 Uses

func JSHash64(str []byte) uint64

JS Hash Function 64

func PJWHash Uses

func PJWHash(str []byte) uint32

P. J. Weinberger Hash Function

func PJWHash64 Uses

func PJWHash64(str []byte) uint64

P. J. Weinberger Hash Function 64

func RSHash Uses

func RSHash(str []byte) uint32

RS Hash Function

func RSHash64 Uses

func RSHash64(str []byte) uint64

RS Hash Function 64

func SDBMHash Uses

func SDBMHash(str []byte) uint32

SDBM Hash

func SDBMHash64 Uses

func SDBMHash64(str []byte) uint64

SDBM Hash 64

Package ghash is imported by 3 packages. Updated 2019-06-28. Refresh now. Tools for package owners.