> For the complete documentation index, see [llms.txt](https://pahutyakv.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pahutyakv.gitbook.io/docs/savely/json-encrypted.md).

# JSON Encrypted

**Savely.JSONEncrypted** is encrypted version of `SaveJSON`. Stores data as JSON but adds AES encryption to protect the content.

***

### <mark style="color:$success;">**Key differences**</mark>

* Data is encrypted using AES (CBC mode with PKCS7 padding) before being written to disk.
* Each file contains a 16-byte IV prepended to the encrypted content.
* A static encryption key (`SetEncryptionKey`) can be set by the user for custom security.
