public static byte[] decode(String s) { try { return Base64.decode(s); } catch (IOException exp) { throw new IORuntimeException(exp); } }
public static String encode(byte[] b) { return Base64.encodeBytes(b); }