hash

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checksum

func Checksum(data []byte) []byte

Checksum returns the checksum for a given piece of data using sha256 twice as the hash algorithm

func DoubleSha256

func DoubleSha256(data []byte) util.Uint256

DoubleSha256 performs sha256 twice on the given data

func Hash160

func Hash160(data []byte) util.Uint160

Hash160 performs sha256 and then ripemd160 on the given data

func RipeMD160

func RipeMD160(data []byte) util.Uint160

RipeMD160 performs the RIPEMD160 hash algorithm on the given data

func Sha256

func Sha256(data []byte) util.Uint256

Sha256 hashes the incoming byte slice using the sha256 algorithm

Types

This section is empty.

Jump to

Keyboard shortcuts

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