### Question:
Main { public static String encrypt(String s) throws Exception { StringBuilder buf = new StringBuilder(__CRYPT); Cipher cipher = Cipher.getInstance(CRYPT_ALGORITHM); cipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(NON_SECRET_KEY, CRYPT_ALGORITHM)); return buf.append(byteArrayToHexString(cipher.doFinal(s.getBytes()))).toString(); }  static void main(String[] arg); static String obfuscate(String s); static String deobfuscate(String s); static String encrypt(String s); static String decrypt(String s); static char[] unfold(String s); static final String __OBFUSCATE; static final String __CRYPT; static final String __CONSOLE; }### Answer:
@Test public void testEncrypt() throws Exception { String expected = "How many roads must a man walk down?"; String actual = Main.encrypt(expected); Assert.assertEquals(Main.decrypt(actual), expected); }