public class Base32 extends Object
Constructor and Description |
---|
Base32() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(String base32)
Decodes the given Base32 String to a raw byte array.
|
static String |
encode(byte[] bytes)
Encodes byte array to Base32 String.
|
static void |
main(String[] args)
For testing, take a command-line argument in Base32, decode, print in hex,
encode, print
|
public static String encode(byte[] bytes)
bytes
- Bytes to encode.bytes
as a String.public static byte[] decode(String base32)
base32
- base32
String as a raw byte array.public static void main(String[] args)
args
- Copyright © 2021. All rights reserved.