Confidential treatment method and device for code

A code and preprocessing technology, applied in the field of code security, can solve problems such as inability to protect the copyright of js files, achieve the effect of increasing the difficulty of cracking and understanding, realizing copyright protection, and reducing readability

Inactive Publication Date: 2015-04-08
BEIJING AMAZGAME AGE INTERNET TECH CO LTD
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, because the javascript code is executed in plain text, the existing technology cannot fully protect the copyright of the js file

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
  • Confidential treatment method and device for code
  • Confidential treatment method and device for code
  • Confidential treatment method and device for code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0018] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term...

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 confidential treatment method and device for a code. The method comprises the steps of performing hash algorithm for variable names in the code of a js file according to the action scope of the js file to obtain the hash result of the js file; packaging and encrypting functions in the has result to obtain a packaged and encrypted character string. According to the technical scheme, the method has the advantages that the blended hash results are packaged and encrypted, so that the readability of the code of the js file can be reduced, the difficulty of a pirate at cracking and understanding of the js file is increased, and as a result, the copyright of the js file can be protected.

Description

technical field [0001] The present invention relates to the technical field of code security, in particular to a method and a device for confidentially processing codes. Background technique [0002] With the emergence of a large number of HTML5 applications, the importance of Javascript in webpage (Web) applications is getting higher and higher, and the complexity, functions and technical content of Javascript (js) codes are also getting higher and higher, and the need for Javascript code protection is also increasing. more and more urgent. However, because javascript codes are executed in clear text, the prior art cannot fully protect the copyright of js files. Contents of the invention [0003] In view of this, the present invention provides a method and device for confidentially processing codes, which further increases the difficulty of deciphering and understanding js codes. [0004] According to the first aspect of the embodiments of the present invention, a metho...

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/14G06F21/1012G06F21/1015
Inventor 鄢丙荣夏贤卯孙啸
Owner BEIJING AMAZGAME AGE INTERNET 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
Try Eureka
PatSnap group products