메소드 | 설명 | |
---|---|---|
CreateHash ( string plainTextPassword ) : string |
Returns the hashed value as hexidecimal.
|
|
MeetsRequirements ( string plainTextPassword ) : Task |
Default password complexity requires a minimum of: 8 characters; 1 uppercase, 1 lowercase, 1 number, and 1 special character.
|
|
PasswordIsDifferent ( string plainTextPassword, string existingPasswordHash ) : bool |
Checks to see whether plainTextPassword is different than the existingPasswordHash including checks for null.
|
|
VerifyHash ( string plainTextPassword, string passwordHash ) : bool |
Verifies the hash of the plainTextPassword matches the specified passwordHash.
|
메소드 | 설명 | |
---|---|---|
CreateHashBytes ( byte plainTextPassword, byte salt = null ) : byte[] |
Creates the hash bytes.
|
public CreateHash ( string plainTextPassword ) : string | ||
plainTextPassword | string | |
리턴 | string |
protected CreateHashBytes ( byte plainTextPassword, byte salt = null ) : byte[] | ||
plainTextPassword | byte | The plain text password. |
salt | byte | The salt. |
리턴 | byte[] |
public MeetsRequirements ( string plainTextPassword ) : Task |
||
plainTextPassword | string | |
리턴 | Task |
public PasswordIsDifferent ( string plainTextPassword, string existingPasswordHash ) : bool | ||
plainTextPassword | string | The plain text password. |
existingPasswordHash | string | The existing password hash. |
리턴 | bool |
public VerifyHash ( string plainTextPassword, string passwordHash ) : bool | ||
plainTextPassword | string | The password to verify. |
passwordHash | string | The password hash. |
리턴 | bool |