hash

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package hash implements hashing as done in zetasketch Java library https://github.com/google/zetasketch/blob/master/java/com/google/zetasketch/internal/hash/.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(data []byte) uint64

Bytes computes a hash of data.

func String

func String(v string) uint64

String hashes strings.

func Uint32

func Uint32(v uint32) uint64

Uint32 hashes uint32 numbers.

func Uint64

func Uint64(v uint64) uint64

Uint64 hashes uint64 numbers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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