C# 클래스 Demo.Domain.Infrastructure.Security.PasswordStorage

파일 보기 프로젝트 열기: volak/DDD.Enterprise.Example

공개 메소드들

메소드 설명
CreateHash ( string password ) : string
VerifyPassword ( string password, string goodHash ) : bool

비공개 메소드들

메소드 설명
Pbkdf2 ( string password, byte salt, int iterations, int outputBytes ) : byte[]
SlowEquals ( byte a, byte b ) : bool

메소드 상세

CreateHash() 공개 정적인 메소드

public static CreateHash ( string password ) : string
password string
리턴 string

VerifyPassword() 공개 정적인 메소드

public static VerifyPassword ( string password, string goodHash ) : bool
password string
goodHash string
리턴 bool