Метод | Описание | |
---|---|---|
ComparePassword ( string passwordHash, string passwordSalt, string password ) : bool |
The compare password with user password in database.
|
|
CreateCryptoPassword ( string password, string salt ) : string |
The create crypto password with salt.
|
|
CreateHash ( string password ) : string |
The create hash.
|
|
CreateSalt ( ) : string |
The create salt.
|
public ComparePassword ( string passwordHash, string passwordSalt, string password ) : bool | ||
passwordHash | string | /// The user password hash. /// |
passwordSalt | string | /// The user password salt. /// |
password | string | /// The current password. /// |
Результат | bool |
public CreateCryptoPassword ( string password, string salt ) : string | ||
password | string | /// The password. /// |
salt | string | /// The salt. /// |
Результат | string |
public CreateHash ( string password ) : string | ||
password | string | /// The password. /// |
Результат | string |