hash

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HexString

func HexString(in []byte) string

HexString 返回字节数组的十六进制字符串,其中字母部分为小写字符

func MD5

func MD5(in []byte) []byte

MD5Bytes 给定 []byte,计返回MD5 Hash值

func MD5String

func MD5String(in string) []byte

MD5 给定字符串,计返回MD5 Hash值

func SHA1

func SHA1(in []byte) []byte

SHA1 给定 []byte,计返回SHA1 Hash值

func SHA1String

func SHA1String(in string) []byte

SHA1String 给定字符串,计返回SHA1 Hash值

func SHA256

func SHA256(in []byte) []byte

SHA256 给定 []byte,计返回SHA256 Hash值

func SHA256String

func SHA256String(in string) []byte

SHA256String 给定字符串,计返回SHA256 Hash值

Types

This section is empty.

Jump to

Keyboard shortcuts

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