Свойство | Type | Description | |
---|---|---|---|
IterationCount | int | ||
KeyLengthBits | int | ||
SaltLength | int |
Méthode | 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 |
Méthode | 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 | |
Résultat | string |
public static CalculateMD5HashFile ( string fileName ) : string | ||
fileName | string | |
Résultat | string |
public static CalculateSHA512Hash ( string input ) : string | ||
input | string | |
Résultat | string |
public static DecryptString ( string ciphertext, string passphrase ) : string | ||
ciphertext | string | |
passphrase | string | |
Résultat | string |
public static EncryptString ( string plaintext, string passphrase ) : string | ||
plaintext | string | |
passphrase | string | |
Résultat | string |