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

Dynamic-link library file encryption, decryption methods and devices

A dynamic link library and file encryption technology, applied in computer security devices, instruments, electrical digital data processing, etc., can solve the problems of not being able to meet the diverse encryption needs of users, single encryption method, etc., to increase the difficulty of decompilation, The effect of diversification of encryption methods

Active Publication Date: 2016-03-23
中科创达(重庆)汽车科技有限公司
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, this application provides a method and device for encrypting and decrypting dynamic link library files, which are used to solve the problem that the existing encryption method is single and cannot meet the diverse encryption needs of users

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
  • Dynamic-link library file encryption, decryption methods and devices
  • Dynamic-link library file encryption, decryption methods and devices
  • Dynamic-link library file encryption, decryption methods and devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0033] see figure 1 , figure 1 It is a flow chart of a dynamic link library file encryption method disclosed in the embodiment of this application.

[0034] Such as figure 1 As shown, the method includes:

[0035] Step S100, receiving the dynamic link library file to be processed, and the start and end positions of the code to be encrypted in the code section area of ​​the dynamic link library file specified by the user;

[0036] Specifically, the source code data is stored in t...

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 application discloses dynamic-link library file encryption, decryption methods and devices. The encryption method comprises the following steps: receiving a dynamic-link library file to be processed as well as starting and stopping positions of a user-specified code to be encrypted in a code section of the dynamic-link library file; according to the starting and stopping positions, finding the code to be encrypted in the code section and encrypting the code to be encrypted by using a preset encryption algorithm so as to obtain an encrypted code; adding a target section in the dynamic-link library file, storing the starting and stopping positions of the encrypted code and a decryption algorithm corresponding to the encryption algorithm in the target section and hiding the target section; and adding a pointer pointing to the target section in an initialization section of the dynamic-link library file so as to carrying out the decryption algorithm of the target section through the pointer in an initialization process of the dynamic-link library file to decrypt the encrypted code. The encryption method provided by the application can encrypt the user-specified code and the encryption mode is more diversified.

Description

technical field [0001] The present application relates to the technical field of software processing, and more specifically, to a dynamic link library file encryption and decryption method and device. Background technique [0002] A Dynamic Link Library file, which is a library containing code that can be used by multiple programs at the same time, is not an executable file. On Android and Linux platforms, developers use C / C++ language to write source code, and compile it into a dynamic link library file through a compiler. The code in the dynamic link library file is stored in sections and has a fixed format. [0003] In order to protect the developer's source code and design ideas from being maliciously stolen, it is necessary to encrypt the dynamic link library file, which increases the difficulty of decompiling the dynamic link library file. The traditional encryption method generally packs the entire dynamic link library file. When the program is running, the shell is...

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/62
CPCG06F21/6281G06F2221/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