/** General <tt>String</tt> and <tt>byte[]</tt> processing functions,
* including Base64 and a safe filename transform.
*
/** General <tt>String</tt> and <tt>byte[]</tt> processing functions,
* including Base64 and a safe filename transform.
*
/** Encode the input data producong a base 64 encoded byte array.
* @return A byte array containing the base 64 encoded data. */
public static byte[] toBase64(byte[] data) {
/** Encode the input data producong a base 64 encoded byte array.
* @return A byte array containing the base 64 encoded data. */
public static byte[] toBase64(byte[] data) {