| CPC H04L 9/0825 (2013.01) [H04L 9/008 (2013.01); H04L 9/0869 (2013.01)] | 20 Claims |

|
1. A computer-implemented method for secure multi-party computation method, comprising:
encrypting, by a first device of a first party, a first plaintext segment of target data by using a homomorphic encryption algorithm based on a public key held by the first party in a first key pair to obtain a first ciphertext segment, wherein a second plaintext segment of the target data is held by a second party; and
sending, by the first device of the first party, the first ciphertext segment to a second device of the second party, wherein a homomorphic addition operation in the homomorphic encryption algorithm is performed on the first ciphertext segment and the second plaintext segment of the target data to obtain ciphertext data of the target data, and wherein the homomorphic addition operation in the homomorphic encryption algorithm is performed on the first ciphertext segment and the second plaintext segment of the target data by operations comprising:
encrypting the second plaintext segment based on the public key by using the homomorphic encryption algorithm to obtain a second ciphertext segment; and
performing an inter-ciphertext operation corresponding to the homomorphic addition operation in the homomorphic encryption algorithm on the first ciphertext segment and the second ciphertext segment.
|