bech32

package
v0.2102.8 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Overview

Package bech32 provides implementation of Bech32 encoding specified in BIP 173: https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

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

Decode decodes a Bech32-encoded string to a 8-bits per byte byte-slice.

func Encode

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

Encode encodes 8-bits per byte byte-slice to a Bech32-encoded string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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