摘要 |
PROBLEM TO BE SOLVED: To improve resistance to side channel attacks or the like by suppressing increase in operation time and operation costs of encryption.SOLUTION: An encryption processing device comprises: table generation means for setting a value to which a random number of a second bit number generated in random number generation means is connected, to a value of a first bit number related to encryption processing, for each element of a table which outputs a value of a reference element; random number connection means for generating a value obtained by connecting plaintext data of a first bit number to a random number of a second bit number generated in the random number generation means; pointer update means for updating a pointer indicating a reference address of the table; encryption means for performing encryption processing including processing for referring the table at an address computed by defining a connection value of data of the first bit number and the random number of the second bit number as an index, with the updated pointer as the standard; and random number deletion means for deleting a random number from output of the encryption means. |