Searched refs:byteArrayOutputStream (Results 1 – 1 of 1) sorted by relevance
552 final ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); in testEncryptsAndDecryptsUsingCipherStreams() local554 new CipherOutputStream(byteArrayOutputStream, cipher); in testEncryptsAndDecryptsUsingCipherStreams()568 byte[] ciphertext = byteArrayOutputStream.toByteArray(); in testEncryptsAndDecryptsUsingCipherStreams()575 new ByteArrayInputStream(byteArrayOutputStream.toByteArray()); in testEncryptsAndDecryptsUsingCipherStreams()