hash

package
v0.0.0-...-84d53aa Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenHash

func GenHash(alg algorithm.HashAlgorithm, args ...[]byte) ([]byte, error)

GenHash generates hash

func Ripemd160

func Ripemd160(args ...[]byte) []byte

Ripemd160 return the RIPEMD160 digest of the data.

func Sha256

func Sha256(args ...[]byte) []byte

Sha256 returns the SHA-256 digest of the data.

func Sha3256

func Sha3256(args ...[]byte) []byte

Sha3256 returns the SHA3-256 digest of the data.

func Sha3256Pb

func Sha3256Pb(pb proto.Message) []byte

Sha3256Pb returns the SAH#-256 diggest of the data from protobuf type

Types

This section is empty.

Jump to

Keyboard shortcuts

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