<BUG>byte[] encryptedMessage = cipher.doFinal(initialText.getBytes("UTF-8"));return encryptedMessage;</BUG><CONTEXT>private byte[] encrypt(SecretKeySpec secretKeySpec, IvParameterSpec initialVector, String initialText)throws NoSuchPaddingException, NoSuchAlgorithmException, UnsupportedEncodingException, BadPaddingException,IllegalBlockSizeException, InvalidAlgorithmParameterException, InvalidKeyException {Cipher cipher = Cipher.getInstance(ALGORITHM);cipher.init(Cipher.ENCRYPT_MODE, secretKeySpec, initialVector);<extra_id_0>}private byte[] decrypt(SecretKeySpec secretKeySpec, IvParameterSpec initialVector, byte[] ciphertext)</CONTEXT>
return cipher.doFinal(initialText.getBytes("UTF-8"));