Protect Python Code with the CRYPTO-BOX

8 September 2020

Realize software protection and license management for your Python applications, or protect your Python code in a few steps.


The Python package for the CRYPTO-BOX is available in our download area. An active support level option and MyMARX login are required for the download.

Protection and License management with Python

Python is an interpreted high-level programming language. During it's development the main focus was put on keeping it simple and clean. Python is among the most popular programming languages.

The package contains 3 samples:

  • The "License" sample demonstrates software licensing by implementing just one function call into the source code of your application.
  • The "CBIOS_DO" demonstrates basic CYPTO-BOX API calls, such as accessing the internal memory and encryption functions, or using DataObjects for license management. This gives you direct access to most CRYPTO-BOX functions within Python.
  • "PyProtect" sample for code encryption.

Code Encryption

Python is an interpreter-based programming language: The interpreter translates the source code into machine code during execution. This makes it easier for a potential attacker to analyze, modify or copy the code and remove/disable the protection. The "PyProtect" sample allows you to protect your Python code by encrypting it with the CRYPTO-BOX. "PyInstaller" demonstrates how an application which was protected with PyProtect before can be packed into an Windows executable.

Back