Program encryption methods of each Development language (1)
Starting from each development language, this paper expounds the encryption method from the point of view of each development language. This article mainly talks about the encryption methods of lua, erlang, perl and ruby languages.
Required for encryption:
Virbox LM SDK
The latest version of Virbox Protector
Shell tool, DS Protector
Document download: http://dl.video.virbox.com/video/VirboxLM-other.zip
1 、 lua
Installation version: 5.3.4
1. Enter lua on the command line after the installation is completed. If the version number appears, the installation is successful.
two。 If the prompt is not an internal command, you need to go to my computer-> Properties-> Advanced-> Environment variable, variable name path variable value: the installation directory of lua
3. Enter lua on the command line again, and the version number indicates that the configuration is successful
4. Shell the lua.exe in the installation directory.
5. Open DS Protector, import the configuration tool generated by the shell, add the demo you need to protect, and click protect.
6. Go to the directory where demo is located and run such as lua demo.lua
2 、 erlang
Installation version: 9.1
1. Enter erl on the command line after the installation is completed. If the version number appears, the installation is successful.
two。 If the prompt is not an internal command, you need to go to my computer-> Properties-> Advanced-> Environment variable, variable name path variable value: the installation directory of erlang
3. Enter erl on the command line again, and the version number indicates that the configuration is successful
4. Shell the erl.exe under the installation directory (for example: C:\ Program Files\ erl9.1\ bin).
5. Open DS, import the configuration tool generated by the shell, add the demo you need to protect, and click protect.
6. Go to the directory where demo is located and run such as erl demo.erl
3. Perl language
Installation version: 5.26.1
1. Enter perl-- version on the command line after the installation is completed. If the version number appears, the installation is successful
two。 If the prompt is not an internal command, you need to go to my computer-> Properties-> Advanced-> Environment variable, variable name path variable value: the installation directory of perl
3. Enter perl-- version on the command line again, and the version number indicates that the configuration is successful
4. Shell the perl.exe under the installation directory (for example: C:\ Strawberry\ perl\ bin).
5. Open DS, import the configuration tool generated by the shell, add the demo you need to protect, and click protect.
6. Go to the directory where demo is located and run such as perl demo.pl
4. Ruby language
Installation version: 2.4.2
1. Enter ruby-- version on the command line after the installation is completed. If the version number appears, the installation is successful
two。 If the prompt is not an internal command, you need to go to my computer-> Properties-> Advanced-> Environment variable, variable name path variable value: the installation directory of ruby
3. Enter ruby-- version on the command line again, and the version number indicates that the configuration is successful
4. Shell the ruby.exe under the installation directory (for example: C:\ Ruby24-x64\ bin).
5. Open DS, import the configuration tool generated by the shell, add the demo you need to protect, and click protect.
6. Go to the directory where demo is located and run such as ruby demo.rb
If you want to test, please download the document: http://dl.video.virbox.com/video/VirboxLM-other.zip