This documentation is archived and is not being maintained.

MembershipProvider.EncryptPassword Method

Encrypts a password.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Protected method EncryptPassword(Byte[]) Encrypts a password.
Protected method EncryptPassword(Byte[], MembershipPasswordCompatibilityMode) Encrypts the specified password using the specified password-compatibility mode.
Top

This method returns a byte array that contains the encrypted password.

Show: