How and Where to store passwords,Credit card number,Username etc on my computer?
-
Hi there I am developing a windows application that will store passwords , credit card number and other sensitive information on the computer. Definetilely it will be stored in the file. There are algorithms in System.Security.Cryptography TripleDes,RSACryptoServiceProvider etc etc. Encrypting the file using above algorithms will require private key(in case of asymmetric encryption) or secret key and Intialization Vector(In case of symmetric encryption) I have encrypted the data using the above key and is working fine.Now the challenge is where to store the Private Key so that i can retrive that key later to decrpyt the data and show to the user. Please guide any reading material or code will be of help Thanks THE SK(Sandeep Kalra) I am the One
-
Hi there I am developing a windows application that will store passwords , credit card number and other sensitive information on the computer. Definetilely it will be stored in the file. There are algorithms in System.Security.Cryptography TripleDes,RSACryptoServiceProvider etc etc. Encrypting the file using above algorithms will require private key(in case of asymmetric encryption) or secret key and Intialization Vector(In case of symmetric encryption) I have encrypted the data using the above key and is working fine.Now the challenge is where to store the Private Key so that i can retrive that key later to decrpyt the data and show to the user. Please guide any reading material or code will be of help Thanks THE SK(Sandeep Kalra) I am the One
Use Hashing algorithm for this purpose, because Hashing Algorithms are one way and no need to decrypt.
-
Hi there I am developing a windows application that will store passwords , credit card number and other sensitive information on the computer. Definetilely it will be stored in the file. There are algorithms in System.Security.Cryptography TripleDes,RSACryptoServiceProvider etc etc. Encrypting the file using above algorithms will require private key(in case of asymmetric encryption) or secret key and Intialization Vector(In case of symmetric encryption) I have encrypted the data using the above key and is working fine.Now the challenge is where to store the Private Key so that i can retrive that key later to decrpyt the data and show to the user. Please guide any reading material or code will be of help Thanks THE SK(Sandeep Kalra) I am the One
Sandeep Kalra wrote:
Now the challenge is where to store the Private Key so that i can retrive that key later to decrpyt the data and show to the user.
You can probably encrypt the private key with something known as a master key. And then when needed, you can decrypt the key with the master key. There may be better techniques, but this is one i heard of. EDIT: A master key can be a simple password (which is to be stored in your brain :) )
------------------------------------------- It's code that drives you - Shyam