Package org.bitcoinj.core
Class Bech32
java.lang.Object
org.bitcoinj.core.Bech32
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Bech32.Bech32Data
Decode a Bech32 string.static String
Deprecated.static String
encode
(Bech32.Bech32Data bech32) Encode a Bech32 string.static String
encode
(Bech32.Encoding encoding, String hrp, byte[] values) Encode a Bech32 string.
-
Constructor Details
-
Bech32
public Bech32()
-
-
Method Details
-
encode
Encode a Bech32 string. -
encode
Encode a Bech32 string. -
encode
Deprecated. -
decode
Decode a Bech32 string.- Throws:
AddressFormatException
-
encode(Encoding, String, byte[])