hash

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64Decode added in v1.0.5

func Base64Decode(src []byte) ([]byte, error)

Base64Decode decode base64

func Base64Encode added in v1.0.5

func Base64Encode(src []byte) []byte

Base64Encode encode to base64

func Keccak256 added in v0.2.0

func Keccak256(data ...[]byte) []byte

Keccak256 returns the Keccak-256 digest of the data.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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