fnv

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fnv

type Fnv struct {
}

Fnv is a fnv128a implementation of the hasher interface.

func (Fnv) Compute

func (f Fnv) Compute(s string) []byte

Compute takes a string, and returns the fnv128a hash of that string

func (Fnv) EmptyHash

func (f Fnv) EmptyHash() []byte

EmptyHash returns the fnv128a hash of the empty string

func (Fnv) Size

func (Fnv) Size() int

Size returns the size, in number of bytes, of a fnv128a hash

Jump to

Keyboard shortcuts

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