Warning

This document is not updated for ESP32H21 yet, so some of the content may not be correct.

This warning was automatically inserted due to the source file being in the add_warnings_pages list.

# Storage Security

[中文]

## Overview of Available Resources

Data privacy is achieved by using the Flash Encryption feature. This mechanism is currently used by FATFS and LittleFS and is recommended for new storage type implementations based on the Partitions API. NVS storage uses a proprietary NVS encryption implementation.

Workflows focused on overall system security are described in the Security Features Enablement Workflows. Workflows related to the combination of multiple secured storage components in one project are presented in the Flash Encryption Example .

Relevant storage security examples
Link | Description
nvs_encryption_hmac | Demonstrates NVS encryption with an HMAC-based encryption key protection scheme.
flash_encryption | Provides a combined example showing the coexistence of NVS encryption, FATFS encryption, and encrypted custom data access via the Partitions API. Security related workflows for both development and production are also provided.

Was this page helpful?

- Thank you! We received your feedback.
- If you have any comments, fill in Espressif Documentation Feedback Form.

- We value your feedback.
- Let us know how we can improve this page by filling in Espressif Documentation Feedback Form.