Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for encrypting and protecting Java application software

A java application and software encryption technology, applied in the direction of platform integrity maintenance, instruments, electronic digital data processing, etc., can solve problems such as difficulty in encryption protection, and achieve the effect of improving copyright protection capabilities

Inactive Publication Date: 2012-02-08
WUHAN IRON & STEEL (GROUP) CORP
View PDF1 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a method for encryption and protection of Java application software, which overcomes the defect that existing Java application software is difficult to encrypt and protect

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
  • Method for encrypting and protecting Java application software
  • Method for encrypting and protecting Java application software
  • Method for encrypting and protecting Java application software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] Such as figure 1 As shown, the encryption method of the present invention includes the steps of: reading the original Java program class file, utilizing the DES standard algorithm to realize reversible encryption, generating public and private keys, and reassembling the encrypted bytecode into a Java software package. The public and private keys generated during the encryption process are issued to authorized users as software licenses.

[0018] For the above encryption method, the decryption function library is developed and implemented in C / C++, and compiled into a binary native machine code decryption function library, such as a DLL file on the Windows platform, or an so file on the Linux / Unix platform.

[0019] The core of the present invention lies in the decryption method. Before decryption, a proxy class loader is generated by inheriting and modifying the Java general class loader ClassLoader, customizing its bytecode generation method. After that, the specific...

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 for encrypting and protecting Java application software, which is more strict and reliable, and is realized by packaging an agent class loader. Precisely, by a special agent class which is executed when a modified Java virtual machine starts, a customized binary encryption and decryption native code base is loaded by a JavaNativeInterface or JavaNativeAccess mode, so that the encryption and decryption operations of a random self-defined rule to the byte codes of target Java application software can be realized. According to the invention, the problem that for so long, because the byte codes can be decompiled and restored into source program codes, the application software which is programmed by adopting Java can not be prevented from being cracked and pirated is solved, and the problem that a Java obfuscator only obfuscates codes, so that the readability of source codes generated by decompiling is reduced, but the decompiling can not be thoroughly prevented is solved. The method disclosed by the invention can be widely applied to the protection of the application software which is developed on the basis of a JavaSE / JavaEE standard, supports theWindows / Linux / Nuix operating system environment, and can greatly improve the copyright protection capability of the Java application software.

Description

technical field [0001] The invention relates to a method for encrypting and protecting Java application software. Background technique [0002] At present, a large number of enterprise-level application software and Internet application software are written in Java. Since Java runs through a virtual machine, all application software source code written in Java will not generate binary native machine code after being compiled by a Java compiler, but will generate Java bytecode. Java bytecode is independent of computer hardware and operating system, and is interpreted by the Java virtual machine at runtime and generates native machine code in real time for execution. Java bytecode is very easy to be analyzed by various decompilation tools and decompiled and restored to Java source code, which leads to the extremely weak ability of various Java application software in terms of copyright protection and prevention of piracy and cracking. Although a Java obfuscator appeared lat...

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
IPC IPC(8): G06F21/22G06F21/54
Inventor 张新
Owner WUHAN IRON & STEEL (GROUP) CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products