How To Code Crypt
How To Code Crypt
au3
3
• Start CodeCrypter.
• Press [Source] to load your script.
(the CS_DATA path is filled automatically).
• Tick Options Create MCF0 and BackTranslate
• Press [Run] (this will take a long time), then Exit.
5
Scite, check for errors, and do test-runs.
Ensure that it works exactly as the original.
© 2020 by RTFC; all rights reserved.
Encrypting an AutoIt script with
CodeCrypter
• Restart CodeCrypter.
• Under Tab Encrypt, specify the Key ID; this is
Step 1’s index in array $CCkey in MCFinclude.au3
• Under Tab Main, disable option [Create MCF0]
and enable option Encrypt; then Press [Run].
• A new, encrypted file MCF0test.au3 is created
in your target’s home directory.
• Open it in Scite, check for errors, do test-runs.
Ensure that it works exactly as the original.
(“Expected Return”)
query in current environment
Decryption Key
Empty Fails DEcryption key = return from key
query at target start-up
ENcryption key = typed ENcryption key = typed Expected
Expected Return Return
Defined
DEcryption key = 1st cmdline DEcryption key = return from key
parameter or user password query at target start-up
Key Definition
Target Empty Defined
Target will run for whomever Target will run only when runtime key
Defined types the decryption key at query response matches predefined
target start-up Expected Return