C# 클래스 SLApp_Beta.PasswordMethods

파일 보기 프로젝트 열기: WhitworthUniversity/SLApp

공개 메소드들

메소드 설명
PasswordMethods ( ) : System
saltAndHashPassword ( string password ) : string
verifyPassword ( string databaseHash, string userPassword ) : bool

비공개 메소드들

메소드 설명
GenerateSaltedHash ( byte plainText, byte salt ) : byte[]
RandomString ( int size ) : string

메소드 상세

PasswordMethods() 공개 메소드

public PasswordMethods ( ) : System
리턴 System

saltAndHashPassword() 공개 메소드

public saltAndHashPassword ( string password ) : string
password string
리턴 string

verifyPassword() 공개 메소드

public verifyPassword ( string databaseHash, string userPassword ) : bool
databaseHash string
userPassword string
리턴 bool