Nice. Is the password encryptedborntoown wrote:(Asking to set a password the first time and Asking to input the password the next times).
If not, use the XOR (
^
) operator like this to provide weak encryption
Code: Select all
string MyPassword = "password";
string ExncrptionKey = "asdfdsafghfdwetyjfdwgpojkgbklnmdfkjnvnrfjnkjnkvnernvi";
string EncryptedPassword = MyPassword^EncryptionKey;
//and to decrypt, just reverse that