메소드 | 설명 | |
---|---|---|
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 | |
리턴 | string |
public SetPassword ( string password ) : void | ||
password | string | The password in plain text format. |
리턴 | void |