bech32

package
v0.50.10 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 625

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertAndEncode

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

ConvertAndEncode converts from a base256 encoded byte string to base32 encoded byte string and then to bech32.

func DecodeAndConvert

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

DecodeAndConvert decodes a bech32 encoded string and converts to base256 encoded bytes.

Types

This section is empty.

Directories

Path Synopsis
Deprecated: The module provides legacy bech32 functions which will be removed in a future release.
Deprecated: The module provides legacy bech32 functions which will be removed in a future release.

Jump to

Keyboard shortcuts

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