Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Security.Cryptography.PasswordDeriveBytes Class Reference

Public Member Functions

 PasswordDeriveBytes (string strPassword, byte[]? rgbSalt)
 
 PasswordDeriveBytes (byte[] password, byte[]? salt)
 
 PasswordDeriveBytes (string strPassword, byte[]? rgbSalt, string strHashName, int iterations)
 
 PasswordDeriveBytes (byte[] password, byte[]? salt, string hashName, int iterations)
 
 PasswordDeriveBytes (string strPassword, byte[]? rgbSalt, CspParameters? cspParams)
 
 PasswordDeriveBytes (byte[] password, byte[]? salt, CspParameters? cspParams)
 
 PasswordDeriveBytes (string strPassword, byte[]? rgbSalt, string strHashName, int iterations, CspParameters? cspParams)
 
 PasswordDeriveBytes (byte[] password, byte[]? salt, string hashName, int iterations, CspParameters? cspParams)
 
override byte[] GetBytes (int cb)
 
override void Reset ()
 
byte[] CryptDeriveKey (string? algname, string? alghashname, int keySize, byte[] rgbIV)
 
void Dispose ()
 

Protected Member Functions

override void Dispose (bool disposing)
 

Properties

string HashName [get, set]
 
int IterationCount [get, set]
 
byte?[] Salt [get, set]
 
SafeProvHandle ProvHandle [get]
 

Private Member Functions

byte[] ComputeBaseValue ()
 
byte[] ComputeBytes (int cb)
 
void HashPrefix (CryptoStream cs)
 

Static Private Member Functions

static SafeProvHandle AcquireSafeProviderHandle (CspParameters cspParams)
 

Private Attributes

int _extraCount
 
int _prefix
 
int _iterations
 
byte[] _baseValue
 
byte[] _extra
 
byte[] _salt
 
readonly byte[] _password
 
string _hashName
 
HashAlgorithm _hash
 
readonly CspParameters _cspParams
 
SafeProvHandle _safeProvHandle
 

Detailed Description

Definition at line 12 of file PasswordDeriveBytes.cs.


The documentation for this class was generated from the following file: