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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top