C# Class pGina.Plugin.MySQLAuth.UserEntry

Afficher le fichier Open project: MutonUfoAI/pgina Class Usage Examples

Private Properties

Свойство Type Description
Decode byte[]
FromHexString byte[]
GetHasher System.Security.Cryptography.HashAlgorithm
HashPlainText byte[]
ToHexString string
VerifySaltedPassword bool

Méthodes publiques

Méthode Description
UserEntry ( string uname, PasswordHashAlgorithm alg, string hashedPass ) : System
VerifyPassword ( string plainText ) : bool

Private Methods

Méthode 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 méthode

public UserEntry ( string uname, PasswordHashAlgorithm alg, string hashedPass ) : System
uname string
alg PasswordHashAlgorithm
hashedPass string
Résultat System

VerifyPassword() public méthode

public VerifyPassword ( string plainText ) : bool
plainText string
Résultat bool