Hi,
You can simply store the hash code of thepassword rather than needing to encrypt it.
GetHashCode() of the string object returns the hash value. Store that value in the database and whenyour user types in their password compare the inputs hash code against the one stored in the database.