hash

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Murm32

type Murm32 struct {
	// contains filtered or unexported fields
}

func (*Murm32) Hash

func (m *Murm32) Hash() uint32

Hash returns the final hash value.

func (*Murm32) Reset

func (m *Murm32) Reset()

Reset clears internal state so that the hasher can be reused

func (*Murm32) Write

func (m *Murm32) Write(data []byte)

Write adds data as input to the hash.

func (*Murm32) WriteByte

func (m *Murm32) WriteByte(b byte)

Write adds a byte as input to the hash.

func (*Murm32) WriteRand32

func (m *Murm32) WriteRand32()

WriteRand32 adds 32 random bits to the input data of the hash.

Jump to

Keyboard shortcuts

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