System.Web.Security.MembershipProvider.EncryptPassword Method

Encrypts a password.

Syntax

protected virtual byte[] EncryptPassword (byte[] password)

Parameters

password
A byte array that contains the password to encrypt.

Returns

A byte array that contains the encrypted password.

Remarks

The MembershipProvider.EncryptPassword(Byte[]) method is a virtual method that is provided for membership provider implementations to use when supporting encrypted password formats.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0