xhash

package
v2.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FNV32 added in v2.6.0

func FNV32(key string) uint32

FNV32 computes the FNV-32 hash of key.

func FNV32a added in v2.6.0

func FNV32a(key string) uint32

FNV32a computes the FNV-32a hash of key.

func FNV64 added in v2.6.0

func FNV64(key string) uint64

FNV64 computes the FNV-64 hash of key.

func FNV64a added in v2.6.0

func FNV64a(key string) uint64

FNV64a computes the FNV-64a hash of key.

func MD5

func MD5(str string) string

MD5 computes the MD5 hash of str.

func SHA256

func SHA256(data string, key string) string

SHA256 computes the SHA-256 hash of data, or its HMAC-SHA256 when key is not empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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