Need help about encrypt source code

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Azzoc
Posts: 2
Joined: 24 Oct 2022, 03:57

Need help about encrypt source code

Post by Azzoc » 24 Oct 2022, 04:02

I need help about encrypting ahk source codes. Is there a way to hide my source code?

Thanks

User avatar
boiler
Posts: 17392
Joined: 21 Dec 2014, 02:44

Re: Need help about encrypt source code

Post by boiler » 24 Oct 2022, 04:57

I think the best way is to use AHK_H with a password when compiling it to a .exe file. You should compile its C++ source code with your unique password. There are step-by-step instructions on how to do that.

SOTE
Posts: 1426
Joined: 15 Jun 2015, 06:21

Re: Need help about encrypt source code

Post by SOTE » 24 Oct 2022, 05:19

Even if you don't do all the compiling steps, AHK_H has 2 kinds of compression, built-in or 3rd party (mpress or UPX). Just selecting the built-in compression option will make the source unreadable for any of the usual and popular ways of trying to decompile it. Also keep in mind, that its all protection against casuals, as expert or professional programmers who are targeting your program can crack it. In fact, that goes for any of the interpreted languages (Python, C#, Lua, Java, etc...).

Post Reply

Return to “Ask for Help (v1)”