sha

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sha128

func Sha128(bytes []byte) []byte

对指定的字节数组进行 SHA128 哈希, 返回长度为 16 的字节数组

func Sha256

func Sha256(bytes []byte) []byte

对指定的字节数组进行 SHA256 哈希, 返回长度为 32 的字节数组

Types

This section is empty.

Jump to

Keyboard shortcuts

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