# Secure Query Processing

This how-to documentation group covers every step required for secure query processing: **encrypting input data**, **submitting queries** to models, **receiving encrypted results**, and **decrypting** the output. For deeper insight into the underlying FHE logic - such as key generation and encryption/decryption - visit our [GitHub repository](https://github.com/Lattica-ai/lattica_fhe_core).

<mark style="color:blue;">﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌</mark>

* How-To: [Generate Evaluation Key ](/how-to-guides/secure-query-processing/how-to-upload-evaluation-key.md)
* How-To: [Encrypt Input Message](/how-to-guides/secure-query-processing/how-to-encrypt-input-message.md)
* How-To: [Run Query](/how-to-guides/secure-query-processing/how-to-execute-query.md)
* How-To: [Decrypt Output Data](/how-to-guides/secure-query-processing/how-to-decrypt-output-data.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://platformdocs.lattica.ai/how-to-guides/secure-query-processing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
