Code obfuscation method and device, code running method and device, medium and equipment

A code obfuscation and code technology, which is applied in the field of computer security, can solve the problem that the key cannot be transmitted to the client, and achieve the effects of improving security, reducing readability, and improving operating efficiency

CN112597454APending Publication Date: 2021-04-02SHENZHEN HEYTAP TECHNOLOGY CO LTD +1
0 Cites 5 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2021-04-02

Smart Images

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

Abstract

The invention provides a code obfuscation method, a code running method, a code obfuscation device, a code running device, a computer readable storage medium and electronic equipment, and relates to the technical field of computer security. The method comprises the steps of analyzing a to-be-processed code into an abstract syntax tree; processing each node of the abstract syntax tree according toa pre-configured conversion rule to generate an obfuscated code; inserting a running detection code into the obfuscated code to obtain a target conversion code; and converting the target conversion code into a bytecode file. The code reading and debugging difficulty can be increased, and the code security is improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present disclosure relates to the technical field of computer security, and in particular to a code obfuscation method, a code operation method, a code obfuscation device, a code operation device, a computer-readable storage medium and electronic equipment. Background technique

[0002] Code is a source file written by a programmer in a language supported by a development tool, and is a set of clear rule systems that represent information in a discrete form by characters, symbols, or signal symbols. According to the execution end of the code, it can be divided into server code and client code. Among them, the client code refers to the code running on the user's mobile phone, computer and other electronic devices, which can be used to submit data, such as obtaining the data entered by the user and submitting the data to the server.

[0003] However, client code is visible to the user. Therefore, in order to prevent the code from being leaked, the ...

Examples

Embodiment Construction

[0029] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details being omitted, or other methods, components, devices, steps, etc. may be adopted. In other instances, well-known technical solution...