Method and device for file encryption
A file encryption and file technology, applied in digital data protection and other directions, can solve problems such as malicious attacks, inability to form random mappings, and poor algorithm security.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0114] A file encryption method, comprising the steps of:
[0115] (1) Parse the entry file OFD / docx / xlsx.xml to obtain document metadata, document file location and secret key;
[0116] (2) Parse the document file Document.xml to obtain the location of the page file in the document file and other information. Other information includes whether the document contains digital signature Signatures.xml, annotations.xml or indexing information presented on the content;
[0117] (3) Analyze the page file Page_N / Content.xml as needed, and present the document according to its content. Each page file contains multiple fonts and image information documents; the index entry of the corresponding font and image information is in PublicRes.xml or PageRes It is stated in .xml that the content is provided by the binary data in the Res file, and the page file is compressed and packaged;
[0118] (4) Encryption: Encrypt the plaintext forming the compressed file respectively, and encapsulate t...
Embodiment 2
[0124] A file encryption device of the present invention includes an entry file parsing module: parsing the entry file OFD / docx / xlsx.xml to obtain document metadata, document file location and secret key;
[0125] Document file parsing module: parse the document file Document.xml, obtain the page file location and other information in the document file, other information includes whether the document contains digital signature Signatures.xml, annotations.xml or indexing information presented on the content ;
[0126] Page file parsing and encapsulation module: parse the page file Page_N / Content.xml as needed, and present the document according to its content. Each page file contains multiple font and image information documents; the index entry of the corresponding font and image information is in PublicRes. xml or PageRes.xml, the content is provided by the binary data in the Res file, and the page file is compressed and packaged;
[0127] Encryption module: Encrypt the plai...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


