Method | Description | |
---|---|---|
GetRandomPassword ( int length ) : string | ||
GetSalt ( int length ) : string | ||
Salt ( string salt, string password ) : string |
Method | Description | |
---|---|---|
ComparePasswords ( string salt, string password, string storedPassword ) : bool | ||
Validate ( string password ) : bool |
public static GetRandomPassword ( int length ) : string | ||
length | int | |
return | string |
public static GetSalt ( int length ) : string | ||
length | int | |
return | string |
public static Salt ( string salt, string password ) : string | ||
salt | string | |
password | string | |
return | string |