Documentation

Overview

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

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func APHash

    func APHash(str []byte) uint32

      AP Hash Function

      func APHash64

      func APHash64(str []byte) uint64

        AP Hash Function 64

        func BKDRHash

        func BKDRHash(str []byte) uint32

          BKDR Hash Function

          func BKDRHash64

          func BKDRHash64(str []byte) uint64

            BKDR Hash Function 64

            func DJBHash

            func DJBHash(str []byte) uint32

              DJB Hash Function

              func DJBHash64

              func DJBHash64(str []byte) uint64

                DJB Hash Function 64.

                func ELFHash

                func ELFHash(str []byte) uint32

                  ELF Hash Function

                  func ELFHash64

                  func ELFHash64(str []byte) uint64

                    ELF Hash Function 64

                    func JSHash

                    func JSHash(str []byte) uint32

                      JS Hash Function

                      func JSHash64

                      func JSHash64(str []byte) uint64

                        JS Hash Function 64

                        func PJWHash

                        func PJWHash(str []byte) uint32

                          P. J. Weinberger Hash Function

                          func PJWHash64

                          func PJWHash64(str []byte) uint64

                            P. J. Weinberger Hash Function 64

                            func RSHash

                            func RSHash(str []byte) uint32

                              RS Hash Function

                              func RSHash64

                              func RSHash64(str []byte) uint64

                                RS Hash Function 64

                                func SDBMHash

                                func SDBMHash(str []byte) uint32

                                  SDBM Hash

                                  func SDBMHash64

                                  func SDBMHash64(str []byte) uint64

                                    SDBM Hash 64

                                    Types

                                    This section is empty.

                                    Source Files