I have the following working scenario using SEAL library.
Client 1:
generate public key 1
generate secret key 1
encrypt data 1
Client 2:
generate public key 2
generate secret key 2
encrypt data 2
Server:
decrypt 'data 1' using 'public key 1' and 'data 2' using 'public key 2'. Perform any mathematical operation and save the result. Send this calculated result to 'Client 2'
Client 2:
Read and decrypt this result using a secret key.
I am not sure, if should I perform public key switching on "server-side" and decrypt this result at client 2.
My main goal is to achieve sending data to the server by two different clients and read the result by any of the client.
Hello there,
I have the following working scenario using SEAL library.
Client 1:
generate public key 1 generate secret key 1 encrypt data 1 Client 2:
generate public key 2 generate secret key 2 encrypt data 2 Server:
decrypt 'data 1' using 'public key 1' and 'data 2' using 'public key 2'. Perform any mathematical operation and save the result. Send this calculated result to 'Client 2'
Client 2:
Read and decrypt this result using a secret key.
I am not sure, if should I perform public key switching on "server-side" and decrypt this result at client 2.
My main goal is to achieve sending data to the server by two different clients and read the result by any of the client.
Many thanks in advance for the solution. Surendra