Encryption and decryption method and device for preventing apk from being installed by unauthorized mobile phones
An encryption method and technology of an encryption device, applied in the field of communication, can solve the problems of consuming a lot of energy, not directly providing an Apk file download address, complicated process, etc., and achieving the effect of saving development costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0058] The flow of the encryption method for preventing Apk from being installed by an unauthorized mobile phone in a preferred embodiment of the present invention is as follows: figure 1 As shown, it specifically includes the following steps: S1. Decompress the Apk file uploaded by the developer, and obtain the AndroidManifest.xml file in its manifest file, wherein the AndroidManifest.xml file is a registry file of Android, and it can be declared in this file that the defined Therefore, the AndroidManifest.xml file is a file required by every application located in the application root directory; S2. Generate a key k1 through a random algorithm, and use the key k1 to encrypt the AndroidManifest.xml file. At this time, the Apk file It is a file that does not contain Android Manifest.xml. In order to prevent this file from being mistaken for a standard Apk file by an Android client (such as an Android phone), the Apk file after removing the Android Manifest.xml file is saved as ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 