Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

File encryption method and device, electronic equipment and storage medium

A file encryption and encryption algorithm technology, which is applied in file systems, file system management, computer security devices, etc., can solve the problems of plaintext exposure and poor security performance, and achieve the effect of improving security performance and avoiding the risk of constant plaintext exposure

Pending Publication Date: 2021-11-12
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention provides a file encryption method, device, electronic equipment and storage medium, which solves the problems of plaintext exposure risk and poor security performance in the constants in the SDK in the prior art

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File encryption method and device, electronic equipment and storage medium
  • File encryption method and device, electronic equipment and storage medium
  • File encryption method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0050] figure 1 is a schematic flow chart of the file encryption method provided by the embodiment of the present invention, see figure 1 As shown, the file encryption method includes:

[0051] Step 101: extracting the constants defined in the archive file of the software development kit SDK.

[0052] Among them, SDK is a collection of development tools for software engineers to build application software for specific software packages, softw...

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

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a file encryption method and device, electronic equipment and a storage medium, and relates to the technical field of file protection. The method comprises the following steps: extracting constants defined in an archived file of the SDK; encrypting the constant according to a preset encryption algorithm; and replacing a definition instruction for the constant in the archived file with a pre-generated calling instruction of the decryption module, and taking the encrypted constant as a parameter transmitted to the decryption module when the decryption module is called, wherein the decryption module is located in the SDK and is used for decrypting the received parameters according to a decryption algorithm corresponding to a preset encryption algorithm. The constant definition in the SDK is replaced by the decryption module calling instruction, and the constant is not exposed in the SDK in a plaintext mode any more, so that the risk of constant plaintext exposure is avoided, and the safety performance is improved. When the constant of the SDK is called, the decryption module is actually called, and the decryption module decrypts the encrypted constant and outputs the decrypted constant, so that the normal use of the SDK is not influenced.

Description

technical field [0001] The invention relates to the technical field of file protection, in particular to a file encryption method, device, electronic equipment and storage medium. Background technique [0002] In the SDK (Software Development Kit, software development kit), some important information such as keys, text prompts, and configuration item names are often stored in the code as constants, and there is a risk of plaintext exposure. Crackers only need to statically analyze the SDK file to find these constant information, or use a Find command (find command) in the prompt text to locate the key code location and view the exposed plaintext information, which has poor security performance. Contents of the invention [0003] The present invention provides a file encryption method, device, electronic equipment and storage medium, which solves the problems in the prior art that the constants in the SDK have the risk of plaintext exposure and poor security performance. ...

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/60G06F16/11G06F16/14
CPCG06F21/602G06F16/113G06F16/148
Inventor 谢源
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products