sha

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 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