Searched refs:byteArrayOutputStream (Results 1 – 1 of 1) sorted by relevance
570 final ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in testEncryptsAndDecryptsUsingCipherStreams() local572 new CipherOutputStream(byteArrayOutputStream, cipher); in testEncryptsAndDecryptsUsingCipherStreams()586 byte[] ciphertext = byteArrayOutputStream.toByteArray(); in testEncryptsAndDecryptsUsingCipherStreams()593 new ByteArrayInputStream(byteArrayOutputStream.toByteArray()); in testEncryptsAndDecryptsUsingCipherStreams()