tendermint: github.com/tendermint/tendermint/libs/bech32 Index | Files

package bech32

import "github.com/tendermint/tendermint/libs/bech32"


Package Files


func ConvertAndEncode Uses

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

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

func DecodeAndConvert Uses

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

DecodeAndConvert decodes a bech32 encoded string and converts to base64 encoded bytes

Package bech32 imports 2 packages (graph) and is imported by 14 packages. Updated 2018-07-03. Refresh now. Tools for package owners.