| CPC H04L 9/0869 (2013.01) [H04L 9/14 (2013.01)] | 20 Claims |

|
1. A data encryption method, comprising:
obtaining a random number set and a data mapping information, wherein the random number set comprises a plurality of random numbers, and the data mapping information is determined based on a preset device information of an electronic device;
mapping the random numbers in the random number set based on the data mapping information to obtain a first encryption key;
obtaining a data description information of data to be encrypted, and performing operations on the data description information based on the first encryption key to obtain an encrypted description information;
mapping the data description information based on the data mapping information to obtain a second encryption key;
using the first encryption key and the second encryption key to perform operations on the data to be encrypted to obtain an initial encrypted data; and
generating an encrypted data corresponding to the data to be encrypted based on the random number set, the encrypted description information, and the initial encrypted data.
|