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.
CN112613071APending Publication Date: 2021-04-06武汉市多比特信息科技有限公司

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
武汉市多比特信息科技有限公司
Publication Date
2021-04-06

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention relates to a file encryption method and device and a storage medium, and the method comprises the steps: obtaining a plurality of types of files in a key resource, and determining a to-be-encrypted file in the plurality of types of files; according to the encryption rule, determining an encryption key corresponding to the to-be-encrypted file and a head adding length; adding an encryption record field to the head of the to-be-encrypted file according to the head adding length; encrypting the to-be-encrypted file according to the encryption key and the encryption record field, and determining an encrypted file; and packaging the encrypted files and the files which do not need to be encrypted in the various files into an APP. According to the invention, the encryption recording field is added to the head of the file by utilizing the encryption rule, and then the file to be encrypted is encrypted by utilizing the encryption key and the encryption recording field, so that the encryption randomness is increased, the decryption difficulty is increased, the safety of the file is ensured, and the leakage of important resources is effectively avoided.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of data encryption, in particular to a file encryption method, device and storage medium. Background technique

[0002] At present, the general format of Android packages is apk, which can be easily decompressed by many decompression software and restored to the state before packaging. For example, when you use a decompression software to open the apk, you will see some directories and files before packaging: assets directory, res directory, AndroidManifest.xml file, etc. However, the key resources in the Android package file are not encrypted, and can be easily obtained by others, so as to calculate the implementation of some functions, shorten the analysis and development cycle, and cause serious technical leaks. Therefore, the key resources in the file Encryption protects the company's core information.

[0003] In the existing file encryption method, only the encryption key is used to encrypt the file ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More