public class Base64Converter extends Object
Modifier and Type | Field and Description |
---|---|
static char[] |
alphabet
Provided for BC purposes
|
Constructor and Description |
---|
Base64Converter() |
Modifier and Type | Method and Description |
---|---|
String |
encode(byte[] octetString)
Encode a byte array into base64 encoding.
|
String |
encode(String s)
Encode a string into base64 encoding.
|
public String encode(byte[] octetString)
octetString
- the byte array to encode.