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.
|
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.Copyright © 2016 JBoss by Red Hat. All rights reserved.