C# 클래스 Skimur.App.Services.Impl.PasswordManager

The password manager
상속: IPasswordManager
파일 보기 프로젝트 열기: skimur/skimur

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
ByteArraysEqual ( byte a, byte b ) : bool

메소드 상세

HashPassword() 공개 메소드

Hashes the password.
password
public HashPassword ( string password ) : string
password string The password.
리턴 string

PasswordStrength() 공개 메소드

Determins the password strength
public PasswordStrength ( string password ) : PasswordScore
password string The password.
리턴 PasswordScore

VerifyHashedPassword() 공개 메소드

Verifies the hashed password.
public VerifyHashedPassword ( string hashedPassword, string providedPassword ) : bool
hashedPassword string The hashed password.
providedPassword string The provided password.
리턴 bool