| |
|
| java.lang.Object org.lucane.common.crypto.Base64
Base64 | public class Base64 (Code) | | Handles Base64 enconding.
Inspired by the Jakarta Project
|
decode | public static byte[] decode(String base64)(Code) | | Decode a string
Parameters: base64 - the string to decode the corresponding byte array |
encode | public static String encode(byte[] raw)(Code) | | Encodes a byte array
Parameters: raw - the bytes to encode the encoded string |
encodeKey | public static String encodeKey(Key key)(Code) | | Encode a Key in base64
Parameters: key - the Key to encode the encoded String |
|
|
|