---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://ydb.tech/docs/en/security/encryption.md
  - https://ydb.tech/docs/ru/security/encryption.md
sourcePath: en/core/security/encryption/index.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt

# Encryption in YDB

YDB provides two main approaches for user data encryption:

* [Data at rest encryption](https://ydb.tech/docs/en/security/encryption/data-at-rest.md)
* [Data in transit encryption](https://ydb.tech/docs/en/security/encryption/data-in-transit.md)

It is recommended to use both of them simultaneously in any production environments that handle sensitive data.