xxh

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: MIT Imports: 4 Imported by: 11

README

xxh

pure go implementation of xxHash fast digest algorithm

Documentation

Index

Constants

View Source
const (
	PRIME32_1 uint32 = 2654435761
	PRIME32_2        = 2246822519
	PRIME32_3        = 3266489917
	PRIME32_4        = 668265263
	PRIME32_5        = 374761393
)
View Source
const (
	PRIME64_1 uint64 = 11400714785074694791
	PRIME64_2        = 14029467366897019727
	PRIME64_3        = 1609587929392839161
	PRIME64_4        = 9650029242287828579
	PRIME64_5        = 2870177450012600261
)

Variables

This section is empty.

Functions

func New32

func New32(seed uint32) hash.Hash32

func New64

func New64(seed uint64) hash.Hash64

func Sum32

func Sum32(bs []byte, seed uint32) uint32

func Sum64

func Sum64(bs []byte, seed uint64) uint64

Types

This section is empty.

Directories

Path Synopsis
cmd
xxh command

Jump to

Keyboard shortcuts

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