Code encryption method and device, electronic equipment and computer readable storage medium

A code encryption and computer technology, which is applied in the field of computer software programs, can solve problems such as errors, low efficiency, and easy omissions, and achieve the effects of improving security levels, improving efficiency, and solving low efficiency

Inactive Publication Date: 2019-07-26
MEGVII BEIJINGTECH CO LTD
View PDF6 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve this problem, the strings in the program product can be encrypted manually, but this method is inefficient and easy to miss or make mistakes

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
  • Code encryption method and device, electronic equipment and computer readable storage medium
  • Code encryption method and device, electronic equipment and computer readable storage medium
  • Code encryption method and device, electronic equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The principle and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are given only to enable those skilled in the art to better understand and implement the present invention, rather than to limit the scope of the present invention in any way.

[0022] Such as figure 1 As shown, an embodiment of the present invention provides a code encryption method 100 . The method 100 includes steps S101-S105.

[0023] S101 is a code compiling step, compiling the source code to generate an original intermediate file.

[0024] S102 is a step of extracting bytecode information, extracting bytecode information in the original intermediate file, wherein the bytecode information includes one or more original instructions.

[0025] S103 is an instruction interception and filtering step, intercepting one or more original instructions in the bytecode information, filtering one or more ori...

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 invention provides a code encryption method and device, electronic equipment and a computer readable storage medium. The code encryption method comprises the following steps: compiling a source code to generate an original intermediate file; extracting byte code information in the original intermediate file, with byte code information comprising one or more original instructions; interceptingone or more original instructions in the bytecode information, filtering the one or more original instructions according to instruction characteristics of a constant character string obtained in advance, and obtaining a plaintext constant character string corresponding to the original instruction containing the instruction characteristics in the one or more original instructions; performing encryption processing on the plaintext constant character string to obtain an encrypted constant character string; and replacing the plaintext constant character string with the encrypted constant characterstring, and inserting a decryption processing code corresponding to the encryption processing to obtain an encrypted intermediate file. According to the embodiment of the invention, the security level of the application program is improved, and the efficiency of searching encryption processing is improved.

Description

technical field [0001] The present invention generally relates to computer software programs, and more particularly relates to code encryption methods, devices, electronic equipment and computer-readable storage media. Background technique [0002] With the development of science and technology and the improvement of the application level of technology industrialization, the application programs of mobile terminals are becoming more and more popular. Due to the temptation of huge interests, cracking and attacks on applications are becoming more and more violent. In particular, some applications involving payment, face recognition, and privacy have become the first targets of attack. [0003] At present, computer program product source code encryption schemes usually use third-party hardening tools to harden and confuse the source code, and implement some anti-interception and anti-debugging strategies, in order to prevent it from being cracked or increase the difficulty of ...

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/14
CPCG06F21/14
Inventor 马福鑫曹志敏
Owner MEGVII BEIJINGTECH 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
Try Eureka
PatSnap group products