메소드 | 설명 | |
---|---|---|
GenerateSalt ( int byteLength = SALT_SIZE ) : string | ||
Hash ( byte input, string algorithm = "sha256" ) : string | ||
Hash ( string input, string algorithm = "sha256" ) : string | ||
HashPassword ( string password ) : string | ||
SHA1 ( string input ) : string | ||
SHA256 ( string input ) : string | ||
VerifyHashedPassword ( string hashedPassword, string password ) : bool |
메소드 | 설명 | |
---|---|---|
BinaryToHex ( byte data ) : string | ||
ByteArraysEqual ( byte a, byte b ) : bool | ||
GenerateSaltInternal ( int byteLength = SALT_SIZE ) : byte[] | ||
GenerateToken ( ) : string |
public static GenerateSalt ( int byteLength = SALT_SIZE ) : string | ||
byteLength | int | |
리턴 | string |
public static Hash ( byte input, string algorithm = "sha256" ) : string | ||
input | byte | |
algorithm | string | |
리턴 | string |
public static Hash ( string input, string algorithm = "sha256" ) : string | ||
input | string | |
algorithm | string | |
리턴 | string |
public static HashPassword ( string password ) : string | ||
password | string | |
리턴 | string |
public static VerifyHashedPassword ( string hashedPassword, string password ) : bool | ||
hashedPassword | string | |
password | string | |
리턴 | bool |