public class Base64
extends java.lang.Object
Base64.| Constructor and Description |
|---|
Base64() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decode(java.lang.String input)
Decodes the given base64-encoded string into its original byte representation.
|
static java.lang.String |
encode(byte[] input)
Base64 encodes the given byte array according to RFC4648.
|
public static java.lang.String encode(byte[] input)
input - The byte array to encode.public static byte[] decode(java.lang.String input)
input - The base64-encoded string in hexadecimal format.