摘要 |
Provided in an embodiment of the present invention are a device file encryption and decryption method and device. The method comprises: dividing a device file into a first part and a second part, the first and second parts respectively comprising at least one file block; encrypting the first and second parts respectively, the encryption algorithm corresponding to the file block in the first part being a first encryption algorithm and the encryption algorithm corresponding to the file block in the second part being a second encryption algorithm different from the first encryption algorithm; storing the encrypted device file. The device file encryption and decryption method and device ensure security and processing speed while encrypting and decrypting a device file. |