Sending encrypted code
The folder that contains the code of your Secure Computation must be organized like this:
If you don’t know how to structure your code, visit Write code.
Before sending your code to the enclave, you have to generate a symmetric key. The Cosmian client provides a function for that, but you can also use whatever suits your security needs.
Then, upload your code folder, specifying its path.
This folder should contains a
All the files of this folder, except the
run.py, will be encrypted.