dcr

package
v1.0.24 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: ISC Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const HashBlockSize = blake256.BlockSize

HashBlockSize is the block size of the hash algorithm in bytes.

Variables

This section is empty.

Functions

func DoubleHashB

func DoubleHashB(b []byte) (output [blake256.Size]byte)

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

func Hash160

func Hash160(buf []byte) []byte

func HashB

func HashB(b []byte) []byte

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

func HashFunc

func HashFunc(data []byte) [blake256.Size]byte

func HashH

func HashH(b []byte) hash.Hash

HashH using blake256 to 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