C# Class pGina.Plugin.Ldap.PasswordHashMethodNTLM

Inheritance: AttribMethod
Mostra file Open project: MutonUfoAI/pgina

Public Methods

Method Description
PasswordHashMethodNTLM ( ) : System
hash ( string password ) : string

Private Methods

Method Description
CryptAcquireContext ( IntPtr &hProv, string pszContainer, string pszProvider, uint dwProvType, uint dwFlags ) : bool
CryptCreateHash ( IntPtr hProv, uint algId, IntPtr hKey, uint dwFlags, IntPtr &phHash ) : bool
CryptDestroyHash ( IntPtr hHash ) : bool
CryptGetHashParam ( IntPtr hHash, Int32 dwParam, Byte pbData, Int32 &pdwDataLen, Int32 dwFlags ) : bool
CryptHashData ( IntPtr hHash, byte pbData, uint dataLen, uint flags ) : bool
CryptReleaseContext ( IntPtr hProv, Int32 dwFlags ) : bool

Method Details

PasswordHashMethodNTLM() public method

public PasswordHashMethodNTLM ( ) : System
return System

hash() public method

public hash ( string password ) : string
password string
return string