Patent ID: 8989385
Filing Date: 2015-03-24
Classification: H04L

Abstract:
1. A data encryption method, adapted to an electronic apparatus, the data encryption method comprising: receiving an original data by a processing unit of the electronic apparatus; obtaining an encryption key from the original data according to a random sequence by the processing unit; transforming the original data into a replacing data according to the encryption key by the processing unit; and combining the replacing data with the random sequence to obtain a ciphertext by the processing unit, comprising: performing a numeral system conversion procedure on the replacing data to obtain a plurality of first conversion codes by the processing unit; respectively adding one of a plurality of connection symbols between two of the adjacent first conversion codes to obtain a first ciphertext sequence by the processing unit; performing the numeral system conversion procedure on the random sequence to obtain a plurality of random conversion codes by the processing unit; respectively adding one of the connection symbols between two of the adjacent random conversion codes, adding one of the connection symbols in a beginning of the random sequence and adding one of the connection symbols in an end of the random sequence by the processing unit, so as to obtain a second ciphertext sequence; and combining the first ciphertext sequence with the second ciphertext sequence to obtain the ciphertext by the processing unit.