@Test public void testUnpackString() throws Exception { assertThat(AES.unPackString(AES.pack(unpaddedtext)), is(unpaddedtext)); }
public static String unPackString(byte[] bytes) throws UnsupportedEncodingException { return new String(unPackBytes(bytes), "UTF-8"); }
AES { public static String unPackString(byte[] bytes) throws UnsupportedEncodingException { return new String(unPackBytes(bytes), "UTF-8"); } }
AES { public static String unPackString(byte[] bytes) throws UnsupportedEncodingException { return new String(unPackBytes(bytes), "UTF-8"); }  }
AES { public static String unPackString(byte[] bytes) throws UnsupportedEncodingException { return new String(unPackBytes(bytes), "UTF-8"); }  static byte[] encrypt(byte[] bytes, byte[] encryptionKey); static byte[] decrypt(byte[] cipherText, byte[] encryptionKey); static byte[] pack(byte[] bytes); static byte[] pack(String string); static byte[] unPackBytes(byte[] bytes); static String unPackString(byte[] bytes); static String encode(byte[] bytesToEncode); static byte[] decode(String stringToDecode); }
AES { public static String unPackString(byte[] bytes) throws UnsupportedEncodingException { return new String(unPackBytes(bytes), "UTF-8"); }  static byte[] encrypt(byte[] bytes, byte[] encryptionKey); static byte[] decrypt(byte[] cipherText, byte[] encryptionKey); static byte[] pack(byte[] bytes); static byte[] pack(String string); static byte[] unPackBytes(byte[] bytes); static String unPackString(byte[] bytes); static String encode(byte[] bytesToEncode); static byte[] decode(String stringToDecode);  }