xxhash64

package
v1.0.2019 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const BlockSize = 32

The blocksize of XXHash64 hash function in bytes

View Source
const Size = 8

The size of a XXHash64 hash value in bytes

Variables

This section is empty.

Functions

func Checksum

func Checksum(input []byte) uint64

Checksum returns the 64bits Hash value.

func ChecksumWithSeed

func ChecksumWithSeed(input []byte, seed uint64) uint64

ChecksumWithSeed returns the 64bits Hash value.

func New

func New() hash.Hash64

New returns a new Hash64 instance.

func NewWithSeed

func NewWithSeed(seed uint64) hash.Hash64

NewWithSeed returns a new Hash64 instance.

func Sum

func Sum(input []byte) (out [Size]byte)

Checksum returns the 64bits Hash value.

func SumWithSeed

func SumWithSeed(input []byte, seed uint64) (out [Size]byte)

Checksum returns the 64bits Hash value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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