메소드 | 설명 | |
---|---|---|
DecodeIterations ( string prefix ) : int | ||
EncodeIterations ( int count ) : string | ||
GenerateNumericCode ( int digits ) : string | ||
GenerateSalt ( ) : string | ||
GetCurrentYear ( ) : int | ||
GetIterationsFromYear ( int year ) : int | ||
Hash ( string value ) : string | ||
Hash ( string value, string key ) : string | ||
HashPassword ( string password, int iterations ) : string | ||
SlowEquals ( string a, string b ) : bool | ||
VerifyHash ( string value, string hash ) : bool | ||
VerifyHash ( string value, string key, string hash ) : bool | ||
VerifyHashedPassword ( string hashedPassword, string password ) : bool |
메소드 | 설명 | |
---|---|---|
SlowEqualsInternal ( string a, string b ) : bool |
public GenerateNumericCode ( int digits ) : string | ||
digits | int | |
리턴 | string |
public HashPassword ( string password, int iterations ) : string | ||
password | string | |
iterations | int | |
리턴 | string |
public VerifyHash ( string value, string hash ) : bool | ||
value | string | |
hash | string | |
리턴 | bool |
public VerifyHash ( string value, string key, string hash ) : bool | ||
value | string | |
key | string | |
hash | string | |
리턴 | bool |
public VerifyHashedPassword ( string hashedPassword, string password ) : bool | ||
hashedPassword | string | |
password | string | |
리턴 | bool |