> For the complete documentation index, see [llms.txt](https://docs.electricbolt.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.electricbolt.co.nz/additional-reading/security/encryption.md).

# Encryption

## Database encryption

### iOS Simulator

For Appfigurate Simulator, we rely upon you and your Mac's security to secure your app metadata records. The database that stores your app metadata records is not encrypted and is located in the host macOS filesystem:

> `~/Library/Application Support/Appfigurate/`

This allows us to share your app metadata records across all iOS Simulators where Appfigurate is installed.

### Physical devices

For device builds (installed from the [Apple App Store](https://apps.apple.com/us/app/appfigurate/id1332575368?ls=1)), the database that stores your app metadata records is encrypted on device.

### Real device cloud testing services

When pre-packaging the local database that stores your app metadata records into the Appfigurate iOS, the database is stored unencrypted in the resulting ipa or apk file. We recommend using wrong app metadata records for development in this scenario.

## App metadata exports & backup

Exported app metadata is secured using the following:

* Passphrase derivation function uses 12-rounds of bcrypt.
* App metadata blob is encrypted with AES256.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.electricbolt.co.nz/additional-reading/security/encryption.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
