CPC H04L 9/008 (2013.01) [H04L 9/0618 (2013.01)] | 9 Claims |
1. An electronic apparatus, comprising:
a memory configured to store a homomorphic ciphertext comprising a tag and a program operating in the electronic apparatus;
a user interface; and
a processor,
wherein the tag comprises type information for original data of the homomorphic ciphertext, and is set, based on computation for the homomorphic ciphertext being performed, such that the tag comprised in the homomorphic ciphertext used in the computation is comprised in even a computation result value generated by the computation being performed, and
the processor is configured to generate, based on receiving a computation request for the homomorphic ciphertext from the program, a computation result value by performing computation for the homomorphic ciphertext, check the type information for the original data of the homomorphic ciphertext used in the computation based on the tag comprised in the computation result value, perform decryption of the computation result value, control the user interface to display the checked type information for the original data and the decrypted computation result value, and provide, based on receiving a command to provide data through the user interface, the decrypted computation result value to the program.
|