btc

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2021 License: ISC Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoubleHashB

func DoubleHashB(b []byte) []byte

DoubleHashB calculates hash(hash(b)) and returns the resulting bytes.

func DoubleHashH

func DoubleHashH(b []byte) hash.Hash

DoubleHashH calculates hash(hash(b)) and returns the resulting bytes as a Hash.

func Hash160

func Hash160(buf []byte) []byte

func HashB

func HashB(b []byte) []byte

HashB calculates hash(b) and returns the resulting bytes.

func HashH

func HashH(b []byte) hash.Hash

HashH calculates hash(b) and returns the resulting bytes as a Hash.

Types

This section is empty.

Jump to

Keyboard shortcuts

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