Send a zerobrane version of their own (Start the Chinese, shortcut keys to the same as: F5 start Debugging, F9 breakpoints, F10 step by step, F11 step by step, F12 jump out of the function)
Based on the release of Zerobrane 1.0 (2015.3.13).
(1) Encrypt important resources and write them completely with batch processing:
@echo offset Openssl_exe=c:\gitstack\git\bin\openssl.exeset lua_exe=bin\ Lua.exeecho Description: Requires pre-installed MINGW and gow-0.7.0if not exist "%openssl_exe%" (echo "did not find OpenSSL" goto error_end) if not exist "%lua_ex E% "(echo" did not find Lua "goto error_end) set/p input_filename= Please enter the file name to encrypt: If not exist"%input_filename% "(echo" did not find the file name entered "Goto Error_end" echo begins to encrypt, please wait del/f/q%input_filename%.out.txtopenssl enc-e-aes-128-cbc-pass pass:testpassword-in %input_filename%-out%input_filename%.aesecho Encrypt_aes: >%input_filename%.out.txt1openssl base64-in%input_fi Lename%.aes-out%input_filename%.out.txt2cat%input_filename%.out.txt1 >%input_filename%.out.txtcat%input_ Filename%.out.txt2 >>%input_filename%.out.txtdel/f/q%input_filename%.aesdel/f/q%input_filename%. OUT.TXT1DEL/F/q%input_filename%.out.txt2echo Encryption complete, file contents: Cat%input_filename%.out.txtgoto All_end:error_endecho Encryption failed , please debug the f**k script:all_endpause
Run:
(2) Game encryption, written in Lua script, including traverse folder and encryption algorithm
The strength of the algorithm design is very low, the public key and private key are the same, the file entropy value is increased to 0, it is not published.
It's easy to design a cryptographic algorithm, but for business, you have to consider every aspect, easier.
Windows-side encryption program, LUA code, Zerobrane debugging