摘要 |
The present invention relates to a method for performing encoding to maintain data encrypted by a counter mode block encryption performed by a computer in alignment order of plain data, which comprises: a first step of randomly extracting 2^n code, wherein n<=6 is satisfied, from 32 to 126 of ASCII to align the same in an order of the extracted ASCII number, and sequentially allocating a number from 0 to (2^n-1) to generate a mapping table; a second step of operating an i^th byte of a cryptogram block generated by the count mode block encryption and an i^th byte of plain data while maintaining the order; a third step of segmenting a result calculated in the second step by n bit; and a fourth step of encoding the same by using a code on the mapping table corresponding to each calculated number in a segmented unit generated by being segmented in the third step. |