Kondro Posted March 9, 2011 Share Posted March 9, 2011 Is it possible to make it so when a compiled .exe is opened it asks for a password to open the program? Link to comment Share on other sites More sharing options...
jvanegmond Posted March 9, 2011 Share Posted March 9, 2011 (edited) Google nets so many results, I could only paste a few. Here is another option: #include <String.au3> $pass = InputBox("", "Enter password") $decrypt = _StringEncrypt(0, "7CC02362EBFC8288317D6E83AC852133F0A21FE6C504B89C49F4FE0732A3D04882873332BD8319D3", $pass) If Not ($decrypt == "9Aizqifra2YvOsb6OE0i") Then MsgBox(0, "", "Incorrect password") Exit EndIf Edited March 9, 2011 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
Kondro Posted March 9, 2011 Author Share Posted March 9, 2011 Google nets so many results, I could only paste a few. Here is another option: #include <String.au3> $pass = InputBox("", "Enter password") $decrypt = _StringEncrypt(0, "7CC02362EBFC8288317D6E83AC852133F0A21FE6C504B89C49F4FE0732A3D04882873332BD8319D3", $pass) If Not ($decrypt == "9Aizqifra2YvOsb6OE0i") Then MsgBox(0, "", "Incorrect password") Exit EndIf Thanks!, the one from the first link is perfect for me. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now