Encryption and decryption method and device, electronic equipment and readable storage medium
A technology of electronic equipment and an encryption method, applied in the field of electronic equipment and readable storage media, encryption and decryption methods, and devices, capable of solving the problems of low security of Android equipment and the like
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0078] figure 1 A schematic diagram of an encryption process provided by an embodiment of the present invention, the process includes the following steps:
[0079] S101: Obtain the first SO library function to be encrypted in the SO library file.
[0080] The encryption method provided by the embodiment of the present invention is applied to an electronic device, and the electronic device is an electronic device installed with an Android system. In addition, third-party software or algorithms for performing the encryption process may also be installed in the electronic device.
[0081] An SO library file is stored in the electronic device, and an SO library function is stored in the SO library file, and the SO library function may include functions such as core algorithms, encryption and decryption methods, and protocols.
[0082] The electronic device can determine the first SO library function to be encrypted. Specifically, it can be preset which SO library functions need ...
Embodiment 2
[0096] On the basis of the foregoing embodiments, in an embodiment of the present invention, said obtaining the first SO library function to be encrypted in the SO library file includes:
[0097] In the SO library file, determine the first section header table for recording section table information;
[0098] Determine the first section table where the first SO library function is located in the first section header table;
[0099] Find the first identification information, the first initial storage location and the first occupied storage space size of the first SO library function in the first section table;
[0100] A first SO library function that acquires the first identification information stored in the storage space corresponding to the first initial storage location and the size of the first occupied storage space.
[0101] In order to improve the search speed of the first SO library function to be encrypted, in the embodiment of the present invention, the first SO li...
Embodiment 3
[0120] On the basis of the above embodiments, in the embodiment of the present invention, after replacing the first SO library function with the encrypted first SO library function in the SO library file, the method further includes:
[0121] Determine the size of the storage space occupied by the encrypted first SO library function;
[0122] The size of the first occupied storage space saved in the first section table is updated to the size of the occupied storage space of the encrypted first SO library function.
[0123] The size of the storage space occupied by the SO library function before and after encryption may change. In order to ensure the accuracy of the decryption in the subsequent decryption process, the storage space occupied by the encrypted first SO library function is used in the embodiment of the present invention. The size updates the size of the storage space occupied by the first SO library function.
[0124] The process for the electronic device to deter...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com