bech32

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const BECH32M_CONST = 0x2bc830a3

Variables

This section is empty.

Functions

func ConvertBits

func ConvertBits(data []byte, fromBits, toBits uint8, pad bool) ([]byte, error)

func Decode

func Decode(bech string) (string, []byte, error)

func DecodeWithBech32m added in v0.101.1

func DecodeWithBech32m(bech string) (string, []byte, error)

func Encode

func Encode(hrp string, data []byte) (string, error)

func EncodeWithBech32m added in v0.101.1

func EncodeWithBech32m(hrp string, data []byte) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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