You'll need to use the Framework classes in the
System.Security.Cryptography namespace. There's MD5 and SHA-1 hash
classes in there. If you need to encrypt and decrypt, you'll likely want
to use a symmetric-key algorithm then, Rijndael probably being your best
bet.
I have some utility functions that do this stuff if you're interested.
Matthew Macdonald-Wallace wrote:
Hi all,
Quick question for all you ASP.net and C# gurus out there:
I'm creating a login system using a SQL Server 2000 database and obviously
I don't want to store the passwords in plaintext. Is there an easy way to
encrypt the password data, or do I need to write my own hashing method?
Cheers,
Matt
--
::::::::::::::::::::::::::::::
Howard Cheng
http://www.howcheng.com/
Wise-cracking quote goes here.
____ The WDVL Discussion List from WDVL.COM ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.