Hi i have to do a VERY basic encryption on a password that is read from a text file. It is read into an array and i encrypted it with an XOR however i now need to compare this encrypted password to one entered with the getpass function and stored and accessible by a pointer to it. So i need to work out a way of getting to this password that is entered so i can apply the same encryption to it so i can compare the two encrypted passwords with strcmp.
Any ideas?
Thanks Mark