Method | Description | |
---|---|---|
HashPassword ( string password, string salt ) : string |
Hashes a combination of the password and salt using SHA1 via FormsAuthentication, or SHA256 is FormsAuthentication is not enabled.
|
|
SetPassword ( string password ) : void |
Encrypts and sets the password for the user.
|
public static HashPassword ( string password, string salt ) : string | ||
password | string | |
salt | string | |
return | string |
public SetPassword ( string password ) : void | ||
password | string | The password in plain text format. |
return | void |