Invention Grant
- Patent Title: Method and apparatus for providing string encryption and decryption in program files
-
Application No.: US14610620Application Date: 2015-01-30
-
Publication No.: US09607160B2Publication Date: 2017-03-28
- Inventor: Zuke Yang
- Applicant: Tencent Technology (Shenzhen) Company Limited
- Applicant Address: CN Shenzhen, Guangdong Province
- Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee Address: CN Shenzhen, Guangdong Province
- Agency: Morgan, Lewis & Bockius LLP
- Priority: CN201310419056 20130913
- Main IPC: G06F21/60
- IPC: G06F21/60 ; G06F17/30

Abstract:
A method of providing encryption and decryption of plaintext strings in a program file, includes: at a device having one or more processors and memory: marking each of a plurality of plaintext strings in a source file with a respective marking macro (e.g., Decrypt); scanning (e.g., using a reflection tool) for the respective marking macros to identify the plurality of plaintext strings in the source code; generating a respective ciphertext string for each of the plurality plaintext strings that have been identified; and storing the plurality of plaintext strings in a dictionary file, where each plaintext string is indexed by a respective hash value computed from the plaintext string, and where the respective hash value for each of the plaintext strings is used to retrieve the respective ciphertext string of the plaintext string from the dictionary during program execution.
Public/Granted literature
- US20150169881A1 Method And Apparatus For Providing String Encryption And Decryption In Program Files Public/Granted day:2015-06-18
Information query