btc

package
v1.0.23 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 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