Batch encryption method and device for swf files developed by as2.0 script
An encryption method and file technology, which is applied in the field of video playback, can solve problems such as low efficiency and occupying hard disk space, and achieve the effect of improving encryption efficiency
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2015-09-16
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to video playing technology, in particular to a batch encryption method and device for SWF files developed by AS2.0 scripting language. Background technique
[0002] SWF file is a special format for Flash. It is an animation file format that supports vector and dot matrix graphics. It is widely used in web design, animation production and other fields. SWF files are also commonly called Flash files. Generally, game developers usually encrypt the SWF files in order to protect the SWF files written by themselves from being embezzled and modified casually.
[0003] In the traditional technology, the means of encrypting the SWF file is to download software capable of encrypting from the Internet, and encrypt a single SWF file. However, the above method can only encrypt a single SWF file, which is inefficient, and requires the user to download the application file from the Internet, occupying hard disk space. Contents of the inventi...
Examples
Embodiment Construction
[0031] figure 1 The flow chart of the first embodiment of the batch encryption method for SWF files developed by the AS2.0 scripting language of the present invention, as figure 1 As shown, the batch encryption method of the SWF file developed by the AS2.0 scripting language provided by the present embodiment is executed by the batch encryption device of the SWF file developed by the AS2.0 scripting language, the device is arranged on the server on the network side, and the device Get the user to upload source SWF files in batches from the terminal side, encrypt each source SWF file separately, and compress and send the encrypted source SWF files to the local directory of the terminal. The device can be implemented in the form of software and / or hardware, and the method includes:
[0032] Step S100, obtaining the source SWF file uploaded by the user;
[0033] Step S102, analyzing the source SWF file to obtain file header information, judging whether the version type of the s...