Deploy
Development of the circuit
from concrete import fhe
@fhe.compiler({"x": "encrypted"})
def function(x):
return x + 42
inputset = range(10)
circuit = function.compile(inputset)circuit.server.save("server.zip")Setting up a server
from concrete import fhe
server = fhe.Server.load("server.zip")Setting up clients
Generating keys (on the client)
Encrypting inputs (on the client)
Performing computation (on the server)
Decrypting the result (on the client)
Last updated
Was this helpful?