

Then you can simply use Send % (str, pass, 7, 6).

Your password or key to decrypting it would be the "xyz" you used in the sample code in your previous post. Then you would use FileRead (or IniRead) to pull in the encrypted string. StrEncrypt() method to generate a result. What I would intend for you to do is say you use the. Though, all of this might be losing the scope of how likely it is for someone to sniff around in your running AHK script and look for variables and their values to crack your password. If you use something like Send % function(), then you don't need to do variable:=function() followed by Send %variable%, because it skips storing the output of the function into a variable to be accessed later. I just used that as a very simple way to demonstrate a form of encryption, instead of something elaborate (more secure I'd imagine) like the first link I shared with you. I do not need a super duper safe method to store my password, just plain encryption with a master password. Most of the time the people were writing about something that others called security through obscurity and not real encryption. exe format), assumed the script asks about a master password first?ģ) If I want to have a text file or the script itself encrypted so that I have to type in a master password fist, how would this be possible? I have found nothing regarding this question. when I tell a script a password by typing it into an InputBox and this script stores the pw as a variable and the script remains running indefinite.Ģ) Are passwords stored as plain text in a script safe if this script is compiled (in. I already searched for answers here and on the internet but it is a very difficult topic.ġ) Are passwords stored in a variable in a script safe? E.g. I have a few questions about the safe handling of passwords by AHK.
