Any encryption/decryption in C#?

  • Thread starter Thread starter alan
  • Start date Start date
A

alan

Hello,

I am writing a client program, i am storing the database user name and
password in the registry of the client machine. It is easy view by other
users. Does C# provide any encryption which i can encrypt the information?
Thanks.
 
Alan,
Have you looked at the various classes in the System.Security.Cryptography
namespace?

Hope this helps
Jay
 
Microsoft's MSDN site (www.msdn.microsoft.com) had an article about this
kind of stuff like about a month ago or so. That's probably worth checking
out. The article discussed hashing of password and storing the hash value
instead of the password for example - probably what you're looking for.
 
Back
Top