Reg_Crypt markers allow selecting parts of the code that should be executed only in case the module is registered, and the registration key allows deciphering the crypted section. Enigma Protector supports 16 types of Reg_Crypt markers. Each marker can be used to select any number of the code parts. Note that the application has to be restarted after registration for the Reg_Crypt markers to work correctly. Restarting is not needed if you use the standard Registration Dialog.
The principle of work: after the module is protected, the code inside the begin/end markers will be encrypted and the execution of the code will be impossible. If you try to run the protected module, the code inside the markers will not be executed, but other functionality will stay the same. If a valid registration key is stored in the system, the loader checks what sections can be decrypted with this key, and if succeeds, the necessary encrypted section will be decrypted. I.e. if the registration key was generated with Section 1 unlocked, the reg_crypt_begin1/reg_crypt_end1 marker will be decrypted. To register the module, use internal Enigma API functions or perform registration by means of key files, or use the standard Registration Dialog. For detailed information on the registration key generator see Creating Keys.
Show/Hide Delphi marker content
Show/Hide C++ marker content
Show/Hide C++ x64 marker content
Show/Hide Visual Basic marker content
Show/Hide Delphi marker example
Show/Hide C++ marker example
Show/Hide Visual Basic marker example
See markers examples in the installation folder, Examples\MarkersRegCrypt subfolder.