Abstract:
The present invention relates to a method for partially encrypting data, an apparatus thereof, a storage medium for storing a program partially encrypting data, a method for decrypting partially-encrypted data, an apparatus thereof and a storage medium for storing a program decrypting partially-encrypted data. According to an embodiment of the present invention, a method for partially encrypting data is provided. The method comprises the steps of: initializing a random generator with an initial value; creating random numbers by the random generator; matching a data block to be encrypted with a partial digit string included in the created random number sequence and, when the partial digit string is identical to a digit string on a predefined truth table, encrypting the matched data block according to encryption information corresponding to the same digit string on the truth table; and outputting the encrypted data block.