private byte[] encryptId(long id) throws Exception {
    // deserialize this using handshake keys
    try (HeapDataOutputStream heapDataOutputStream =
        new HeapDataOutputStream(KnownVersion.CURRENT)) {

      heapDataOutputStream.writeLong(id);

      return handshake.getEncryptor().encryptBytes(heapDataOutputStream.toByteArray());
    }
  }
@return The QueryResponseMessage associated with the ServerConnection
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/ServerConnection.java