I have a small c# program where I need to hash my password and use the hashed password as a key to encrypt data.
How do I make the hashed password as a key and then encrypt data?
Post a Reply
|Oldest Newest Rating|
· March 14, 2015
I did the hashing part already. I need help in using the hashed password as a key.
· March 15, 2015
@Branislav Lazic hashing and encryption is not the same thing. Ruz wants to encrypt data with a password, not just store a password in a safe way.
@Ruz ChuH Take a look at the MSDN page for encrypting data. They have examples on how to generate keys and encrypt and decrypt the data as well.