C# Class pGina.Plugin.MySQLAuth.UserEntry

ファイルを表示 Open project: MutonUfoAI/pgina Class Usage Examples

Private Properties

Property Type Description
Decode byte[]
FromHexString byte[]
GetHasher System.Security.Cryptography.HashAlgorithm
HashPlainText byte[]
ToHexString string
VerifySaltedPassword bool

Public Methods

Method Description
UserEntry ( string uname, PasswordHashAlgorithm alg, string hashedPass ) : System
VerifyPassword ( string plainText ) : bool

Private Methods

Method Description
Decode ( string hash ) : byte[]
FromHexString ( string hex ) : byte[]
GetHasher ( ) : HashAlgorithm
HashPlainText ( string plainText ) : byte[]
ToHexString ( byte bytes ) : string
VerifySaltedPassword ( string plainText ) : bool

Method Details

UserEntry() public method

public UserEntry ( string uname, PasswordHashAlgorithm alg, string hashedPass ) : System
uname string
alg PasswordHashAlgorithm
hashedPass string
return System

VerifyPassword() public method

public VerifyPassword ( string plainText ) : bool
plainText string
return bool