C# Class Raisins.Client.Web.Models.Account

Exibir arquivo Open project: netxph/raisins Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GenerateNewPassword ( string newPassword, string newSalt ) : void
GetHash ( string password, string salt ) : string
IsValidAccount ( string password ) : bool
SetSalt ( string salt ) : void

Method Details

GenerateNewPassword() public method

public GenerateNewPassword ( string newPassword, string newSalt ) : void
newPassword string
newSalt string
return void

GetHash() public method

public GetHash ( string password, string salt ) : string
password string
salt string
return string

IsValidAccount() public method

public IsValidAccount ( string password ) : bool
password string
return bool

SetSalt() public method

public SetSalt ( string salt ) : void
salt string
return void