hash

package
v0.0.0-...-e532b39 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hasher

type Hasher interface {
	UpdateString(key string)
	UpdateBytes(key []byte)
	GetValue() int32
}

func NewSimpleKeyHasher

func NewSimpleKeyHasher() Hasher

type SimpleHasher

type SimpleHasher int32

func (*SimpleHasher) GetHash

func (h *SimpleHasher) GetHash() SimpleHasher

func (*SimpleHasher) WriteBytes

func (h *SimpleHasher) WriteBytes(key []byte)

func (*SimpleHasher) WriteString

func (h *SimpleHasher) WriteString(key string)

Jump to

Keyboard shortcuts

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