C# 클래스 BinaryStudio.TaskManager.Logic.Core.CryptoProvider

The crypto provider.
상속: ICryptoProvider
파일 보기 프로젝트 열기: dv00d00/BinaryStudio.TaskManager 1 사용 예제들

공개 메소드들

메소드 설명
ComparePassword ( string passwordHash, string passwordSalt, string password ) : bool

The compare password with user password in database.

CreateCryptoPassword ( string password, string salt ) : string

The create crypto password with salt.

CreateHash ( string password ) : string

The create hash.

CreateSalt ( ) : string

The create salt.

메소드 상세

ComparePassword() 공개 메소드

The compare password with user password in database.
public ComparePassword ( string passwordHash, string passwordSalt, string password ) : bool
passwordHash string /// The user password hash. ///
passwordSalt string /// The user password salt. ///
password string /// The current password. ///
리턴 bool

CreateCryptoPassword() 공개 메소드

The create crypto password with salt.
public CreateCryptoPassword ( string password, string salt ) : string
password string /// The password. ///
salt string /// The salt. ///
리턴 string

CreateHash() 공개 메소드

The create hash.
public CreateHash ( string password ) : string
password string /// The password. ///
리턴 string

CreateSalt() 공개 메소드

The create salt.
public CreateSalt ( ) : string
리턴 string