Actually, any ahk script is only a pain text file. So, encrypting it would make it not run.
BUT, every ahk instalation comes with a compiler.
You can compile your script (with a password so that it can't be de-compiled) and use it as a .exe in your flash drive. Another advantage of this method is that it'll even work on computers that don't have ahk installed.