File encryption method and device and storage medium
An encryption method and file technology, applied in computer security devices, instruments, electronic digital data processing and other directions, can solve the problem of key resource encryption of files, and achieve the effect of increasing the randomness of encryption, avoiding leakage and ensuring security.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] The embodiment of the present invention provides a kind of file encryption method, combines figure 1 look, figure 1 It is a schematic flow chart of the file encryption method provided by the present invention, the file encryption method includes steps S1 to S5, wherein:
[0040] In step S1, various files among the key resources are obtained, and files to be encrypted among the various files are determined;
[0041] In step S2, according to the encryption rules, the encryption key corresponding to the file to be encrypted and the added length of the header are determined;
[0042] In step S3, add an encrypted record field to the header of the file to be encrypted according to the added length of the header;
[0043] In step S4, encrypt the file to be encrypted according to the encryption key and the encrypted record field, and determine the encrypted file;
[0044] In step S5, encrypt the file to be encrypted according to the encryption key and the encrypted record fi...
Embodiment 2
[0069] An embodiment of the present invention provides a device for encrypting a file, including a processor and a memory, where a computer program is stored in the memory, and when the computer program is executed by the processor, the file encryption method as described above is realized.
Embodiment 3
[0071] An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned file encryption method is realized.
[0072] The invention discloses a file encryption method, device and storage medium. In the method, firstly, by obtaining key resources, determine the files that need to be encrypted, so as to avoid redundant encryption operations and prevent files that do not need to be encrypted Encryption; then, by determining the encryption key corresponding to the file to be encrypted, for subsequent encryption operations, by determining the length of the header addition, in order to add a field of a certain length to record the encryption operation; Add an encryption record field to effectively record the encryption operation; then, according to the encryption key and the encryption record field, encrypt the file to be encrypted, which not only ensures...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com