Protection method of authentication information generation algorithm and terminal
A technology for generating algorithms and authentication information. It is used in digital data authentication, program/content distribution protection, and computing. It can solve problems such as the inability to protect Token generation algorithms, and achieve the effect of ensuring security.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] Please refer to figure 1 , a method for protecting an authentication information generation algorithm, comprising the steps of:
[0058] Encapsulate the authentication information generation algorithm to be protected through the preset programming language;
[0059] Compiling the encapsulated authentication information generation algorithm to generate binary code;
[0060] placing the binary code in a preset code segment and encrypting it;
[0061] Specifically: Encrypt the compiled authentication information generation algorithm through a symmetric encryption algorithm, where the symmetric encryption algorithms used include: DES, 3DES, AES, SM4, Blowfish, IDEA, RC4, RC5, RC6 and XXTEA;
[0062] placing the encrypted signature information in the preset code segment;
[0063] This embodiment provides a specific application scenario:
[0064] When the authentication information generation algorithm to be encrypted is the Android APP signature generation algorithm, the...
Embodiment 2
[0067] Please refer to Figure 4 , the difference between this embodiment and Embodiment 1 is that how to call the encrypted authentication information generation algorithm is specifically limited:
[0068] Receive authentication information generation algorithm call request;
[0069] Invoke a request to the preset code terminal to obtain encrypted signature information corresponding to the authentication information generation algorithm according to the authentication information generation algorithm;
[0070] Verify the signature information, if the verification is successful, obtain the encrypted authentication information generation algorithm and the corresponding decryption algorithm, specifically: develop a dynamic link library in advance, and set it in the process array section of the dynamic link library An encryption section (section.encry) loading function, through which the signature information corresponding to the encrypted authentication information generation a...
Embodiment 3
[0082] Please refer to Figure 6 , a protection terminal for an authentication information generating algorithm, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the first or second embodiment when executing the computer program Each step in the protection method of the authentication information generation algorithm described above.
[0083] In summary, the invention provides a protection method and terminal for an authentication information generation algorithm, which encapsulates and compiles the authentication information generation algorithm to be protected, generates binary code, and then places the compiled binary code in a specific code section is encrypted, and then the encrypted signature information is placed in the preset code section. By encrypting the authentication information generation algorithm, the authentication information generation algorithm is generated into a binar...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


