System.Web.Configuration.FormsAuthPasswordFormat Enumeration

Defines the encryption format for storing passwords.

Syntax

public enum FormsAuthPasswordFormat

Remarks

To programmatically configure the type of encryption used to store passwords in a Web application, use the System.Web.Configuration.AuthenticationSection class. This class is also used internally by System.Web.Security.FormsAuthentication in the processing of authentication tickets.

Members

Member NameDescription
Clear

Specifies that passwords are not encrypted. This field is constant.

MD5

Specifies that passwords are encrypted using the MD5 hash algorithm. This field is constant.

SHA1

Specifies that passwords are encrypted using the SHA1 hash algorithm. This field is constant.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0