Save encrypted values in Python

Hello @alberto

I am going to try to answer for CN team since they are in vacation.

First: yes, as explained in the question you link, it is not possible to call the encrypt / run / decrypt in Concrete-ML. It will be possible to have the separated APIs in Concrete-ML in the next release.

Now, you’re right, Concrete-Numpy is always a step in advance, since Concrete-ML is built on top of Concrete-Numpy. So yes, as you say, in CN, you have the encrypt, run and decrypt APIs.

In the next releases of Concrete-Numpy and Concrete-ML (this summer), you will have complete examples of a client & server protocol, possibly on different machines, which will allow you to do exactly what you want. Certainly you can build workarounds in the meantime, but it may be simpler & safer to just wait for the next release for this part, if it does not block you.

Cheers