Method | Description | |
---|---|---|
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 |
return | string |
public static Hash ( string password, int iterations ) : string | ||
password | string | the password |
iterations | int | number of iterations |
return | string |
public static IsHashSupported ( string hashString ) : bool | ||
hashString | string | the hash |
return | bool |
public static Verify ( string password, string hashedPassword ) : bool | ||
password | string | the password |
hashedPassword | string | the hash |
return | bool |