hash

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2018 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64Decode

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

Base64Decode decode base64

func Base64Encode

func Base64Encode(src []byte) []byte

Base64Encode encode to base64

func Keccak256

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