C# Class SLApp_Beta.PasswordMethods

Datei anzeigen Open project: WhitworthUniversity/SLApp

Public Methods

Method Description
PasswordMethods ( ) : System
saltAndHashPassword ( string password ) : string
verifyPassword ( string databaseHash, string userPassword ) : bool

Private Methods

Method Description
GenerateSaltedHash ( byte plainText, byte salt ) : byte[]
RandomString ( int size ) : string

Method Details

PasswordMethods() public method

public PasswordMethods ( ) : System
return System

saltAndHashPassword() public method

public saltAndHashPassword ( string password ) : string
password string
return string

verifyPassword() public method

public verifyPassword ( string databaseHash, string userPassword ) : bool
databaseHash string
userPassword string
return bool