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

Java SDK code encryption and decryption method based on dynamic loading and terminal

A dynamic loading, encryption and decryption technology, applied in the direction of electronic digital data processing, instrument, platform integrity maintenance, etc., can solve the problem of not being able to effectively protect the security of the SDK code

Pending Publication Date: 2020-10-27
北京智游网安科技有限公司
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The main purpose of the present invention is to provide a Java SDK code encryption and decryption method and terminal based on dynamic loading, aiming to solve the problem that the code security of the SDK cannot be effectively protected in the prior art

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
  • Java SDK code encryption and decryption method based on dynamic loading and terminal
  • Java SDK code encryption and decryption method based on dynamic loading and terminal
  • Java SDK code encryption and decryption method based on dynamic loading and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the object, technical solution and advantages of the present invention more clear and definite, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0034] The Java SDK code encryption and decryption method based on dynamic loading described in the preferred embodiment of the present invention, such as figure 1 , figure 2 with image 3 As shown, the dynamically loaded Java SDK code encryption and decryption method comprises the following steps:

[0035] Step S10, parsing the class file in the Jar package, converting the functions in the class file into codeless interface functions;

[0036] Specifically, copy a copy of the original Jar package, and parse the class files in the Jar package (it can be multiple class files, such as ...

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 Java SDK code encryption and decryption method based on dynamic loading and a terminal, and the method comprises the steps: analyzing a class file in a Jar package, and converting a function into a code-free interface function; encrypting and hiding the Jar packet; after the encryption operation is completed, outputting an interface Jar, a decryption engine Jar and the encrypted Jar; putting the encrypted Jar as a resource file into an application source code project, introducing an interface Jar and a decryption engine Jar into the project, and initializing and calling the decryption engine Jar before the encrypted Jar is used; starting an application integrated with the encrypted SDK, and starting a decryption engine Jar during running to obtain a main class loader of the current process; using the decryption engine Jar and enabling the main class loader to load the decrypted code in the Jar into the memory, and enabling the application to normally call thedecrypted code of the SDK, so that the code security of the SDK is effectively protected.

Description

technical field [0001] The invention relates to the technical field of computer applications, in particular to a dynamic loading-based Java SDK code encryption and decryption method and a terminal. Background technique [0002] Java is an object-oriented programming language. It not only absorbs various advantages of C++ language, but also abandons concepts such as multiple inheritance and pointers that are difficult to understand in C++. Therefore, Java language has two characteristics: powerful and easy to use; Java language As a representative of a static object-oriented programming language, it implements object-oriented theory very well, allowing programmers to perform complex programming in an elegant way of thinking; Java has simplicity, object-oriented, distributed, robustness, security, and platform independence Features such as portability, multi-threading, and dynamics. [0003] Jar is a Java (computer programming language) package file format, usually used to ag...

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/52
CPCG06F21/52G06F2221/2107
Inventor 王庆栋李鹏飞
Owner 北京智游网安科技有限公司
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