hash

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: MIT Imports: 2 Imported by: 8

README

hash

Godoc Report Tests Coverage Sponsor

Ultra-fast hashing of arbitrary bytes.

Usage

x := hash.Bytes([]byte("Hello World"))

Benchmarks

BenchmarkBytes-12       26772571                42.2 ns/op             0 B/op          0 allocs/op
BenchmarkString-12      27747283                42.3 ns/op             0 B/op          0 allocs/op

Style

Please take a look at the style guidelines if you'd like to make a pull request.

Sponsors

Cedric Fung Scott Rayapoullé Eduard Urbach
Cedric Fung Scott Rayapoullé Eduard Urbach

Want to see your own name here?

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(in []byte) uint64

Bytes hashes the given byte slice.

func String

func String(in string) uint64

String hashes the given string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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