C# Class Epiworx.Business.Security.Helpers.PasswordHelper

Mostrar archivo Open project: mattruma/epiworx-csla

Public Methods

Method Description
GetRandomPassword ( int length ) : string
GetSalt ( int length ) : string
Salt ( string salt, string password ) : string

Private Methods

Method Description
ComparePasswords ( string salt, string password, string storedPassword ) : bool
Validate ( string password ) : bool

Method Details

GetRandomPassword() public static method

public static GetRandomPassword ( int length ) : string
length int
return string

GetSalt() public static method

public static GetSalt ( int length ) : string
length int
return string

Salt() public static method

public static Salt ( string salt, string password ) : string
salt string
password string
return string