> For the complete documentation index, see [llms.txt](https://jframework.gitbook.io/help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jframework.gitbook.io/help/other-concepts/cryptography.md).

# Cryptography

## Overview

JFW utilizes the [**Advanced Encryption Standard (AES)**](https://github.com/1Byte-Software/jfw-help-docs/blob/main/other-concepts/broken-reference/README.md) in [**Cipher Block Chaining (CBC)**](https://github.com/1Byte-Software/jfw-help-docs/blob/main/other-concepts/broken-reference/README.md) mode to ensure the confidentiality and security of your data. The AES-CBC encryption method is renowned for its strong encryption capabilities, cementing its status as a trusted method for safeguarding sensitive information.

## Encryption

In JFW, we use a standard salt to store sensitive data in the database, such as **Username**, **Password**, and **Email Address**. Tokens & authentication keys have their unique salts.

## Decryption

In certain cases, we decrypt data to conduct comparisons or extract information from the encrypted data for handling business processes.


---

# 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:

```
GET https://jframework.gitbook.io/help/other-concepts/cryptography.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.
