C# Class System.Security.Cryptography.PasswordDeriveBytes

Inheritance: DeriveBytes
Datei anzeigen Open project: runefs/Marvin Class Usage Examples

Public Methods

Method Description
CryptDeriveKey ( string algname, string alghashname, int keySize, byte rgbIV ) : byte[]
PasswordDeriveBytes ( byte password, byte salt ) : System.Globalization
PasswordDeriveBytes ( byte password, byte salt, CspParameters cspParams ) : System.Globalization
PasswordDeriveBytes ( byte password, byte salt, string hashName, int iterations ) : System.Globalization
PasswordDeriveBytes ( byte password, byte salt, string hashName, int iterations, CspParameters cspParams ) : System.Globalization
PasswordDeriveBytes ( string strPassword, byte rgbSalt ) : System.Globalization
PasswordDeriveBytes ( string strPassword, byte rgbSalt, CspParameters cspParams ) : System.Globalization
PasswordDeriveBytes ( string strPassword, byte rgbSalt, string strHashName, int iterations ) : System.Globalization
PasswordDeriveBytes ( string strPassword, byte rgbSalt, string strHashName, int iterations, CspParameters cspParams ) : System.Globalization
Reset ( ) : void

Private Methods

Method Description
GetBytes ( int cb ) : byte[]
Prepare ( byte password, byte rgbSalt, string strHashName, int iterations ) : void
Prepare ( string strPassword, byte rgbSalt, string strHashName, int iterations ) : void

Method Details

CryptDeriveKey() public method

public CryptDeriveKey ( string algname, string alghashname, int keySize, byte rgbIV ) : byte[]
algname string
alghashname string
keySize int
rgbIV byte
return byte[]

PasswordDeriveBytes() public method

public PasswordDeriveBytes ( byte password, byte salt ) : System.Globalization
password byte
salt byte
return System.Globalization

PasswordDeriveBytes() public method

public PasswordDeriveBytes ( byte password, byte salt, CspParameters cspParams ) : System.Globalization
password byte
salt byte
cspParams CspParameters
return System.Globalization

PasswordDeriveBytes() public method

public PasswordDeriveBytes ( byte password, byte salt, string hashName, int iterations ) : System.Globalization
password byte
salt byte
hashName string
iterations int
return System.Globalization

PasswordDeriveBytes() public method

public PasswordDeriveBytes ( byte password, byte salt, string hashName, int iterations, CspParameters cspParams ) : System.Globalization
password byte
salt byte
hashName string
iterations int
cspParams CspParameters
return System.Globalization

PasswordDeriveBytes() public method

public PasswordDeriveBytes ( string strPassword, byte rgbSalt ) : System.Globalization
strPassword string
rgbSalt byte
return System.Globalization

PasswordDeriveBytes() public method

public PasswordDeriveBytes ( string strPassword, byte rgbSalt, CspParameters cspParams ) : System.Globalization
strPassword string
rgbSalt byte
cspParams CspParameters
return System.Globalization

PasswordDeriveBytes() public method

public PasswordDeriveBytes ( string strPassword, byte rgbSalt, string strHashName, int iterations ) : System.Globalization
strPassword string
rgbSalt byte
strHashName string
iterations int
return System.Globalization

PasswordDeriveBytes() public method

public PasswordDeriveBytes ( string strPassword, byte rgbSalt, string strHashName, int iterations, CspParameters cspParams ) : System.Globalization
strPassword string
rgbSalt byte
strHashName string
iterations int
cspParams CspParameters
return System.Globalization

Reset() public method

public Reset ( ) : void
return void