Need a little help here...
Trying to create a very simple program, which is done.
I do not need Defense Grade encryption, just some basic obfuscation to make life harder for anyone wanting to use the code with out permission.
What I need to add to it is a simple way to crypt or salt a text string with a particular code so that the script can validate that the user is allowed to use the script.
I've tried some of the examples, but I am having issues getting anything that needs to be included in the program to work, so I would ask that whatever the solution is can be implemented as a function.
Thanks in advance for any help,
Alex
Code: Select all
SomeMagic(a,b){
--- Here Is what I need help with
return result
}
PCdata = %A_COMPUTERNAME%%A_USERNAME%
FixedData := "A_Fixed_String"
PCdataEncoded := SomeMagic(PCdata,FixedData)
InputBox AuthCode,A Title,Authorization Code:,,,,,,,,
if (AuthCode != PCdataEncoded) {
ExitApp
}
... Keep Going...