logicthought
asked on
Ecrypt Password C#
Hi Experts, i need a simple solution .
i have a program i wrote in C# the requiers gmail user name and password inorder to send email notification to the user.
i currntly store these details is the registry , i would like to encrypt the password.
so if someone explores the registry using regedit he won't be able to extract the password.
this is in C# (Visual Studio 2010)
Thanks
i have a program i wrote in C# the requiers gmail user name and password inorder to send email notification to the user.
i currntly store these details is the registry , i would like to encrypt the password.
so if someone explores the registry using regedit he won't be able to extract the password.
this is in C# (Visual Studio 2010)
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I hope this works for u.. I am attaching a .cs file with my comment plz do check it..
EncryptDecrypt.cs
EncryptDecrypt.cs
Compile this above file using the command line compiler which comes with visual studio.. as follows :
csc /t:winexe EncryptDecrypt.cs
csc /t:winexe EncryptDecrypt.cs
Note that you might want to change the string manipulation part to anything you could think of.
Open in new window