@Override
              public void run() {
                encryptWithChannel(ags, plaintext, ciphertext, associatedData, chunkSize);
              }
Constructs a ReadableByteChannel with ciphertext from a ReadableByteChannel. The method
constructs a new thread that is used to encrypt the plaintext. TODO(bleichen): Using
PipedInputStream may have performance problems.
java_src/src/main/java/com/google/crypto/tink/testing/StreamingTestUtil.java