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

A kind of obfuscation encryption method and device of dynamic webpage program code

A technology of program code and dynamic web pages, applied in the Internet field, can solve the problem of easy cracking of results, and achieve the effect of providing security

Active Publication Date: 2017-07-11
TENCENT TECH (BEIJING) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the main purpose of the present invention is to provide a method and device for obfuscation and encryption of dynamic web page program codes, which are used to solve the technical problem that the result of obfuscation and encryption of existing obfuscation encryption tools is easy to be cracked

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
  • A kind of obfuscation encryption method and device of dynamic webpage program code
  • A kind of obfuscation encryption method and device of dynamic webpage program code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to embodiments and drawings.

[0033] figure 1 The flow chart of the method for obfuscation and encryption of dynamic webpage program code provided by the present invention, the specific steps are as follows:

[0034] Step 101: Read and analyze the source code of the dynamic page program in the webpage to be published, identify the variables, functions, and character strings in the source code, and obfuscate the variable names, function names, and character strings, where the variable names and functions are obfuscated Name confusion is irreversible confusion;

[0035] In this step, the original code can be segmented and extracted according to keywords, and the positions of keywords and operators such as variables (var), functions (function), etc., and operators can be extracted through regular exp...

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 discloses a method and device for obfuscating and encrypting program codes of dynamic web pages, which are used to solve the technical problem that the obfuscated and encrypted results of the existing obfuscation and encryption tools are easy to be cracked. The invention increases the difficulty of program cracking and restoration by adopting the multi-layer obfuscation encryption process, and meanwhile the obfuscation encryption for function names and variable names in the invention is irreversible, which can provide the most powerful protection for the source code. The invention solves the technical problem that the obfuscated encryption result of the dynamic webpage program code by the existing obfuscation encryption tool is easy to be cracked, and provides better security for the dynamic webpage code.

Description

Technical field [0001] The invention relates to the field of Internet technology, and in particular to a method and device for obfuscating and encrypting dynamic webpage program codes directly embedded in a webpage. Background technique [0002] For some dynamic webpage programming technologies, such as JavaScript, which write the code directly on the webpage and provide dynamic page effects for the webpage, when constructing the webpage, the program code is not treated specially, so that once the product is released, users can download the webpage Read the source code of the program realized by this kind of technology directly and completely in the source file, which brings some hidden dangers to the code security. [0003] Therefore, a tool for JavaScript encryption and obfuscation of such embedded dynamic webpage program code is needed to increase the difficulty of cracking and reading the code, and achieve the purpose of protecting code security. [0004] In order to increase th...

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 Patents(China)
IPC IPC(8): G06F21/12
Inventor 董霙
Owner TENCENT TECH (BEIJING) 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