hashx

package
v1.0.15 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hashcode

func Hashcode(b []byte) uint32

Hashcode to generate hash code

func Hashcode64

func Hashcode64(b []byte) uint64

Hashcode to generate hash code

func HashcodeString

func HashcodeString(s string) uint32

Hashcode to generate hash code

func HashcodeSum added in v1.0.15

func HashcodeSum(b []byte) []byte

HashcodeSum 计算给定字节数组的 CRC64-ECMA 哈希值并返回。 参数 b 为需要计算哈希值的字节数组。 返回值为一个字节数组,表示计算得到的哈希值。

Types

This section is empty.

Jump to

Keyboard shortcuts

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