Property | Type | Description | |
---|---|---|---|
IterationCount | int | ||
KeyLengthBits | int | ||
SaltLength | int |
Method | Description | |
---|---|---|
CalculateMD5Hash ( string input ) : string | ||
CalculateMD5HashFile ( string fileName ) : string | ||
CalculateSHA512Hash ( string input ) : string | ||
DecryptString ( string ciphertext, string passphrase ) : string | ||
EncryptString ( string plaintext, string passphrase ) : string |
Method | Description | |
---|---|---|
DeriveKeyFromPassphrase ( string passphrase, byte salt ) : byte[] | ||
DoCryptoOperation ( byte inputData, byte key, byte iv, bool encrypt ) : byte[] | ||
GenerateRandomBytes ( int lengthBytes ) : byte[] | ||
HexString ( byte bytes ) : string |
public static CalculateMD5Hash ( string input ) : string | ||
input | string | |
return | string |
public static CalculateMD5HashFile ( string fileName ) : string | ||
fileName | string | |
return | string |
public static CalculateSHA512Hash ( string input ) : string | ||
input | string | |
return | string |
public static DecryptString ( string ciphertext, string passphrase ) : string | ||
ciphertext | string | |
passphrase | string | |
return | string |
public static EncryptString ( string plaintext, string passphrase ) : string | ||
plaintext | string | |
passphrase | string | |
return | string |