> For the complete documentation index, see [llms.txt](https://daikirai.gitbook.io/scripting/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daikirai.gitbook.io/scripting/guide/encryption.md).

# encryption

### Why Encryption?

By default, script source code can be easily accessed and altered. Encryption ensures your code remains secure and is only decrypted at runtime by the client.

To encrypt a script, use the **orchid bot** in the customer discord and run the command:

`/encrypt <script.java>`

{% embed url="<https://www.youtube.com/watch?v=MBbXxJQaSxI>" %}

{% hint style="warning" %}
Scripts cannot contain both plaintext and encrypted code.
{% endhint %}

{% hint style="danger" %}
Encryption is intended to discourage casual code theft, but it should not be considered a guarantee that your code cannot be analyzed or reverse engineered. Do not hardcode sensitive information such as API keys, tokens, passwords, or other confidential data into your scripts. Please note that attempting to reverse engineer encrypted scripts is prohibited under the [Raven Terms of Service](https://pastebin.com/raw/MFR7biX4).
{% endhint %}
