메소드 | 설명 | |
---|---|---|
PasswordMethods ( ) : System | ||
saltAndHashPassword ( string password ) : string | ||
verifyPassword ( string databaseHash, string userPassword ) : bool |
메소드 | 설명 | |
---|---|---|
GenerateSaltedHash ( byte plainText, byte salt ) : byte[] | ||
RandomString ( int size ) : string |
public saltAndHashPassword ( string password ) : string | ||
password | string | |
리턴 | string |
public verifyPassword ( string databaseHash, string userPassword ) : bool | ||
databaseHash | string | |
userPassword | string | |
리턴 | bool |