---
title: "Encryption"
description: "When you save projects in QuantConnect Cloud, you can save encrypted versions of your project files instead of the raw file content."
canonical: https://www.quantconnect.com/docs/v2/cloud-platform/projects/encryption
markdown: https://www.quantconnect.com/docs/v2/cloud-platform/projects/encryption.md
language: python
source: https://github.com/QuantConnect/Documentation/tree/master/01%20Cloud%20Platform/06%20Projects/05%20Encryption
modified: 2026-10-29
index: https://www.quantconnect.com/llms.txt
---

# Encryption

[Documentation](https://www.quantconnect.com/docs/v2.md) > [Cloud Platform](https://www.quantconnect.com/docs/v2/cloud-platform.md) > [Projects](https://www.quantconnect.com/docs/v2/cloud-platform/projects.md) > Encryption

> Code examples are shown in Python. Append `?lang=csharp` to this URL for the C# version of this page.

## Introduction

[Video](https://player.vimeo.com/video/884898901)

When you save projects in QuantConnect Cloud, you can save encrypted versions of your project files instead of the raw, human readable, file content. To use the encryption system, you provide your own encryption key, which your local browser saves to memory. Afterwards, whenever you save your project, your browser uses the local key to encrypt your project files and then only the obfuscated files are pushed to QuantConnect Cloud.

## View All Keys

The [organization homepage](https://www.quantconnect.com/docs/v2/cloud-platform/organizations/administration.md#05-View-the-Organization-Homepage) displays the name of all your organization's encryption keys and provides a way to upload more. A MD5 hash of the key is recorded to know which key encoded a project.

The ![](https://cdn.quantconnect.com/i/tu/encryption-missing-icon.png) icon means the key is registered in the database but we could not locate it on your computer. This may happen when you login from a new computer. To use this key, click **Use Key** and upload the key with the pop-up. This process stores a copy of your key in the browser local store so you can decrypt the relevant projects in your organization.

## Add Keys

Follow these steps to add an encryption key to your local storage:

1. Navigate to the [Encryption Keys](https://www.quantconnect.com/docs/v2/cloud-platform/projects/encryption.md#02-View-All-Keys) section of your organization homepage.
2. Click **Add Encryption Key**.
3. In the Add Encryption Key window, enter a name for the key and then add the encryption key file.
   The encryption key file must be a `txt` file with at least 32 characters. It’s content can be arbitrary.
4. Click **Add Key**.

## Delete Keys

Follow these steps to delete an encryption key:

1. Navigate to the [Encryption Keys](https://www.quantconnect.com/docs/v2/cloud-platform/projects/encryption.md#02-View-All-Keys) section of your organization homepage.
2. Click **Delete** next to the key you want to delete.
3. Click **Delete**.

## Add Encryption

Follow these steps to add encryption to your project files:

1. [Open a project](https://www.quantconnect.com/docs/v2/cloud-platform/projects/getting-started.md#02-View-All-Projects) or [create a new one](https://www.quantconnect.com/docs/v2/cloud-platform/projects/getting-started.md#03-Create-Projects).
2. In the Project panel, click **Encrypt Project**.
3. If you have added an encryption key before and want to use it for this project, click the key name from the drop-down menu.
4. If you haven’t added an encryption key before or you want to add a new one, follow these steps:
   1. Click **Add Key to Organization** from the drop-down menu.
   2. In the Add Encryption Key window, enter a name for the key and then add the encryption key file.
      The encryption key file must be a `txt` file with at least 32 characters. It’s content can be arbitrary.
   3. Click **Add Key**.
5. Click **Encrypt**.

## Remove Encryption

To remove encryption from a project, [open the project](https://www.quantconnect.com/docs/v2/cloud-platform/projects/getting-started.md#02-View-All-Projects) and then, in the Project panel, click the **unlock** icon next to the name of your encryption key.

## Collaboration Support

Encryption isn’t available for projects that have [collaborators](https://www.quantconnect.com/docs/v2/cloud-platform/projects/collaboration.md).

## Libraries

Encrypted projects can use [libraries](https://www.quantconnect.com/docs/v2/cloud-platform/projects/shared-libraries.md) encrypted with the same project key or unencrypted libraries. However, you cannot use a library encrypted with a different project encryption key.

To encrypt a library, [open its project](https://www.quantconnect.com/docs/v2/cloud-platform/projects/getting-started.md#02-View-All-Projects) and [set its encryption key](https://www.quantconnect.com/docs/v2/cloud-platform/projects/encryption.md#05-Add-Encryption).
