Метод | Описание | |
---|---|---|
Hash ( string password ) : string |
Creates a hash from a password with 10000 iterations
|
|
Hash ( string password, int iterations ) : string |
Creates a hash from a password
|
|
IsHashSupported ( string hashString ) : bool |
Check if hash is supported
|
|
Verify ( string password, string hashedPassword ) : bool |
verify a password against a hash
|
public static Hash ( string password ) : string | ||
password | string | the password |
Результат | string |
public static Hash ( string password, int iterations ) : string | ||
password | string | the password |
iterations | int | number of iterations |
Результат | string |
public static IsHashSupported ( string hashString ) : bool | ||
hashString | string | the hash |
Результат | bool |
public static Verify ( string password, string hashedPassword ) : bool | ||
password | string | the password |
hashedPassword | string | the hash |
Результат | bool |