File encryption method, device, file decryption method, device and storage medium
A file encryption and file technology, applied in the field of information security, can solve the problems of illegal transfer of files, low security, malicious acquisition, etc., and achieve the effect of reducing the probability of illegal access and improving security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0064] In the first embodiment of the present invention, a file encryption method, such as figure 1 shown, including the following specific steps:
[0065] Step S101, extracting hardware identification information in the key unit, and generating first key information and second key information according to the hardware identification information.
[0066] Wherein, the hardware identification information in the key unit includes at least one of the following information: the factory sequence of the key unit, the type information of the key unit, and the storage capacity information of the key unit.
[0067] When the hardware identification information in the key unit is maliciously tampered with, the first key information and the second key information become invalid, and the encrypted file cannot be decrypted according to the first key information and the second key information.
[0068] Step S102, based on the preset key information setting model, set the second key informat...
no. 2 example
[0082] In the second embodiment of the present invention, a file encryption method, such as figure 2 shown, including the following specific steps:
[0083] Step S201, extracting hardware identification information in the key unit, and generating first key information and second key information according to the hardware identification information.
[0084] Wherein, the hardware identification information in the key unit includes at least one of the following information: the factory sequence of the key unit, the type information of the key unit, and the storage capacity information of the key unit.
[0085] When the hardware identification information in the key unit is maliciously tampered with, the first key information and the second key information become invalid, and the encrypted file cannot be decrypted according to the first key information and the second key information.
[0086] Step S202, based on the preset key information setting model, set the second key inform...
no. 3 example
[0121] , the third embodiment of the present invention, a file encryption device, such as image 3 shown, including the following components:
[0122] Processor 110 , memory 109 , key unit 201 . In some embodiments of the present invention, these components may be connected by a bus or other means.
[0123] The processor 110 may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU), and may also be a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (English: Application Specific Integrated Circuit, ASIC), Or one or more integrated circuits configured to implement embodiments of the invention. Wherein, the memory is used to store executable instructions of the processor;
[0124] The memory 109 is used for storing program codes and transmitting the program codes to the processor 110 . The memory 109 can include a volatile memory (Volatile Memory), such as a random access memory (R...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


