The invention provides a multi-secret
confusion mode component
homomorphic encryption method,
system and device and a medium, and relates to the technical field of
homomorphic encryption, and the method comprises the steps: generating a coding mode base set and an
encryption mode base set according to safety parameters and
system configuration; generating a key associated with the encrypted modulo set; coding the plurality of secret messages to be encrypted and the random number into a
plaintext; calculating a real modulo component of the
plaintext for each
encryption modulo to generate a random
list, and replacing a specified column element of a corresponding row in the random
list with each real modulo component according to the key to obtain a
ciphertext; performing homomorphic operation on the at least two ciphertexts under the
encryption mode base to obtain a result
ciphertext; and extracting a
real mode component from the result
ciphertext according to the key, reconstructing a
plaintext, and decoding to obtain a secret message after homomorphic operation. According to the method, while multi-message parallel homomorphic calculation is supported, the ciphertext security is enhanced through a
confusion mode component structure, and correct
recovery of an operation result is ensured.