hash

package
v0.0.0-...-cd0d1ff Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Adler32

func Adler32(a []byte) string

Adler32 Adler32

func Crc32

func Crc32(a []byte) string

Crc32 Crc32

func Get

func Get(name string) (f func(b []byte) string, ok bool)

Get get hash func

func MD4

func MD4(a []byte) string

MD4 md4

func MD5

func MD5(a []byte) string

MD5 md5

func Md5Object

func Md5Object(v interface{}) (string, error)

Md5Object md5(json(interface))

func Ripemd160

func Ripemd160(a []byte) string

Ripemd160 Ripemd160

func SHA1

func SHA1(a []byte) string

SHA1 sha1

func SHA224

func SHA224(a []byte) string

SHA224 sha224

func SHA256

func SHA256(a []byte) string

SHA256 sha256

func SHA384

func SHA384(a []byte) string

SHA384 sha384

func SHA512

func SHA512(a []byte) string

SHA512 sha512

func Sha1Object

func Sha1Object(v interface{}) (string, error)

func Sha3_224

func Sha3_224(a []byte) string

Sha3_224 sha3_224

func Sha3_256

func Sha3_256(a []byte) string

Sha3_256 sha3_256

func Sha3_384

func Sha3_384(a []byte) string

Sha3_384 sha3_384

func Sha3_512

func Sha3_512(a []byte) string

Sha3_512 sha3_512

Types

This section is empty.

Jump to

Keyboard shortcuts

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