public class Bech32 extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Bech32.Bech32Data |
| Constructor and Description |
|---|
Bech32() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
convertBits(byte[] in,
int inStart,
int inLen,
int fromBits,
int toBits,
boolean pad) |
static byte[] |
createChecksum(String hrp,
byte[] values) |
static Bech32.Bech32Data |
decode(String str) |
static String |
encode(String hrp,
byte[] values) |
public static byte[] createChecksum(String hrp, byte[] values)
public static byte[] convertBits(byte[] in,
int inStart,
int inLen,
int fromBits,
int toBits,
boolean pad)
public static Bech32.Bech32Data decode(String str)
Copyright © 2022 IoTeX Group. All rights reserved.