File encryption method, file decryption method and corresponding devices
The invention belongs to the technical field of software protection, and particularly relates to a file encryption method, a file decryption method and corresponding devices. The file encryption method comprises the following steps: generating file header information according to a pre-acquired targ...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention belongs to the technical field of software protection, and particularly relates to a file encryption method, a file decryption method and corresponding devices. The file encryption method comprises the following steps: generating file header information according to a pre-acquired target software source code file; compiling the target software source code file to obtain a first bytecode file; according to a preset first symmetric encryption key, performing symmetric encryption on the first byte code file to obtain a second byte code file; according to a predetermined asymmetricencryption key, performing asymmetric encryption on the predetermined first symmetric encryption key to obtain a second symmetric encryption key; and packaging the second byte code file, the second symmetric encryption key and the file header information into a target byte code file. Through the embodiment of the invention, the possibility that the Python software program source code file is leaked is reduced, so that the |
---|