public class Bech32
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Bech32.Bech32Data |
static class |
Bech32.Encoding |
Constructor and Description |
---|
Bech32() |
Modifier and Type | Method and Description |
---|---|
static Bech32.Bech32Data |
decode(java.lang.String str)
Decode a Bech32 string.
|
static java.lang.String |
encode(Bech32.Bech32Data bech32)
Encode a Bech32 string.
|
static java.lang.String |
encode(Bech32.Encoding encoding,
java.lang.String hrp,
byte[] values)
Encode a Bech32 string.
|
static java.lang.String |
encode(java.lang.String hrp,
byte[] values)
Deprecated.
|
public static java.lang.String encode(Bech32.Bech32Data bech32)
public static java.lang.String encode(Bech32.Encoding encoding, java.lang.String hrp, byte[] values)
@Deprecated public static java.lang.String encode(java.lang.String hrp, byte[] values)
encode(Encoding, String, byte[])
public static Bech32.Bech32Data decode(java.lang.String str) throws AddressFormatException
AddressFormatException