Méthode | Description | |
---|---|---|
Hash ( string password, int iterations = 100000 ) : string | ||
RandomString ( int length, string allowedChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" ) : string | ||
Verify ( string hashedPassword, string password ) : bool |
Méthode | Description | |
---|---|---|
ByteArraysEqual ( byte a, byte b ) : bool |
public static Hash ( string password, int iterations = 100000 ) : string | ||
password | string | |
iterations | int | |
Résultat | string |
public static RandomString ( int length, string allowedChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" ) : string | ||
length | int | |
allowedChars | string | |
Résultat | string |
public static Verify ( string hashedPassword, string password ) : bool | ||
hashedPassword | string | |
password | string | |
Résultat | bool |