C# Class SpeakFriend.Utilities.Password

Afficher le fichier Open project: teamaton/speak-lib Class Usage Examples

Méthodes publiques

Méthode Description
ComputeSaltedHash ( string strPassword ) : string
CreateRandomPassword ( int passwordLength ) : string
CreateRandomSalt ( ) : int
Matches ( string plainTextPassword ) : bool

Checks the given plain text password against the saved salt and salted hash.

Password ( string strPassword ) : System

Méthodes protégées

Méthode Description
Password ( ) : System

Method Details

ComputeSaltedHash() public méthode

public ComputeSaltedHash ( string strPassword ) : string
strPassword string
Résultat string

CreateRandomPassword() public static méthode

public static CreateRandomPassword ( int passwordLength ) : string
passwordLength int
Résultat string

CreateRandomSalt() public static méthode

public static CreateRandomSalt ( ) : int
Résultat int

Matches() public méthode

Checks the given plain text password against the saved salt and salted hash.
public Matches ( string plainTextPassword ) : bool
plainTextPassword string
Résultat bool

Password() protected méthode

protected Password ( ) : System
Résultat System

Password() public méthode

public Password ( string strPassword ) : System
strPassword string
Résultat System