> 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/binary-encrypted.md).

# Binary Encrypted

**Savely.BinaryEncrypted** is the encrypted version of `SaveBinary`. It stores data using binary serialization with AES encryption for secure storage.

***

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