Searched refs:cipherText (Results 1 – 1 of 1) sorted by relevance
75 static byte[] decrypt(SecretKey key, byte[] cipherText) throws IOException { in decrypt() argument77 Objects.requireNonNull(cipherText); in decrypt()79 DataInputStream cipherStream = new DataInputStream(new ByteArrayInputStream(cipherText)); in decrypt()90 final byte[] cipherText; in encrypt()95 cipherText = cipher.doFinal(plainText); in encrypt()104 dos.writeInt(cipherText.length); in encrypt()105 dos.write(cipherText); in encrypt()