I have been trying to make a program in c# to password protect a file so nobody can open the file if it has been encrypted by password.
What I want to do is that after password protecting the file, whenever somebody click to open the file, it will ask him for the password. What is the best way to encrypt it, Is it by XOR or AES?
What I want to do is that after password protecting the file, whenever somebody click to open the file, it will ask him for the password. What is the best way to encrypt it, Is it by XOR or AES?
Comment