@Meghan Kharva: Great answer! Have a look at: How to: Sample Membership Provider Implementation http://msdn.microsoft.com/en-us/library/6tc47t75.aspx It gives you a full sample implentation of a Membership Provider...it has support for both encrypted and hashed passwords. The main methods you would be interested in would be: private bool CheckPassword(string password, string dbpassword)
private string UnEncodePassword(string encodedPassword) private string EncodePassword(string password) Lee -------------------- Secret Orange Limited http://www.secretorange.co.uk <http://www.secretorange.co.uk> ________________________________ From: [email protected] on behalf of Meghan Kharva Sent: Thu 06/08/2009 12:33 To: [email protected] Subject: [DotNetDevelopment] Re: Encrypt Values use encryption and decryption functions in C#.. On Thu, Aug 6, 2009 at 4:17 PM, san <[email protected]> wrote: I want to know that how to convert simple plain text into encrypted format.Like i want to store Password in SQL Database Can any one give me Example. Thanks.
<<inline: winmail.dat>>
