views:

86

answers:

0

Possible Duplicate:
Password encryption/ decryption code in .NET

Can someone provide working code to encrypt a password and store it in the database.Anything simple would do,some "salt" would be nice.

public void Encrypt(string password)
{
}

public void Verify(string password)
{
}