Encrypt ?

Ask for help, how to use AHK_H, etc.
ground77600
Posts: 8
Joined: 14 Dec 2018, 04:32

Encrypt ?

14 Dec 2018, 04:44

Hello,

I just start using AutoHotKey_H and I need to have some informations about the compiler.

When I open Ahk2exe there is two options which I don't fully understand at this time:

1) The tick box entitled "Use compression to reduce the size of resulting executable" : is it just to reduce the size or is it involved to the source code protection process too ?
2) The tick box entitled "Encrypt. Enter the password used in executable" : Does this password will be required to run the executable or, again, is it involved to the source code protection process ? Is it a password to prevent a decompilation ? Is there any forbidden characters ? What is the maximum length of this password ?

Sincerely.
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: Encrypt ?

14 Dec 2018, 18:26

1. This only compresses the code, you won't be able to open the code using resourcehacker or text editor but it is very simple to uncompress.
2. This password is by default AutoHotkey, you will need to recompile AutoHotkey_H in Visual Studio with a different password that you will have to use here.

How to change the password and recompile youcan find in forums, for example see here: https://autohotkey.com/boards/viewtopic.php?p=153719 or here: https://autohotkey.com/boards/viewtopic ... 65&t=59657
A recent discussion here as well: https://www.autohotkey.com/boards/viewt ... 7&start=20
letacio
Posts: 48
Joined: 08 Mar 2018, 16:05

Re: Encrypt ?

31 Jan 2019, 21:21

I've got a question about it:

It looks like the script gets VERY slow when compressed. is that so, or i did something wrong?
i was happy to know i would be able to protect my code to sell some applications, but given the performance (like 2 or 3 seconds to activate a hotkey/hotstring), i kind of gave up on code protection/compression.

thanks in advance!
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: Encrypt ?

01 Feb 2019, 03:08

Encryption/Compression is only to unpack the code, it does not impact how fast it runs.
Do you have an example?
letacio
Posts: 48
Joined: 08 Mar 2018, 16:05

Re: Encrypt ?

01 Feb 2019, 09:28

Hi again, i've tested again, and really, looks like the slower part is only reloading script. the rest looks fine.
Sorry about it =(

Return to “Ask for Help”

Who is online

Users browsing this forum: No registered users and 16 guests