utils

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base32Encode

func Base32Encode(data []byte, padding bool) (string, error)

func Base32Encode2

func Base32Encode2(data []byte, padding bool) (string, error)

@deprecated Deprecated: 自写函数实现暂时废弃

func ConvertBits

func ConvertBits(data []byte, fromBits uint, tobits uint, pad bool) ([]byte, error)

@see https://github.com/sipa/bech32/blob/master/ref/go/src/bech32/bech32.go

func Hash160

func Hash160(data []byte) ([]byte, error)

func HashDoubleSha256

func HashDoubleSha256(data []byte) ([]byte, error)

func HashRipeMD160

func HashRipeMD160(data []byte) ([]byte, error)

func HashSha256

func HashSha256(data []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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