C# Class Skimur.App.Services.Impl.PasswordManager

The password manager
Inheritance: IPasswordManager
Afficher le fichier Open project: skimur/skimur

Méthodes publiques

Méthode Description
HashPassword ( string password ) : string

Hashes the password.

PasswordStrength ( string password ) : PasswordScore

Determins the password strength

VerifyHashedPassword ( string hashedPassword, string providedPassword ) : bool

Verifies the hashed password.

Private Methods

Méthode Description
ByteArraysEqual ( byte a, byte b ) : bool

Method Details

HashPassword() public méthode

Hashes the password.
password
public HashPassword ( string password ) : string
password string The password.
Résultat string

PasswordStrength() public méthode

Determins the password strength
public PasswordStrength ( string password ) : PasswordScore
password string The password.
Résultat PasswordScore

VerifyHashedPassword() public méthode

Verifies the hashed password.
public VerifyHashedPassword ( string hashedPassword, string providedPassword ) : bool
hashedPassword string The hashed password.
providedPassword string The provided password.
Résultat bool