Méthode | Description | |
---|---|---|
Decrypt ( byte cipherText, |
||
Decrypt ( byte cipherText, string password ) : byte[] |
Decrypts the ciphertext using the Key.
|
|
Encrypt ( byte plainText, |
||
Encrypt ( byte plainText, string password ) : byte[] |
Encrypts the plainText input using the given Key. A 128 bit random salt will be generated and prepended to the ciphertext before it is returned.
|
public static Decrypt ( byte cipherText, |
||
cipherText | byte | |
password | ||
Résultat | byte[] |
public static Decrypt ( byte cipherText, string password ) : byte[] | ||
cipherText | byte | |
password | string | The plain text encryption key. |
Résultat | byte[] |
public static Encrypt ( byte plainText, |
||
plainText | byte | |
password | ||
Résultat | byte[] |
public static Encrypt ( byte plainText, string password ) : byte[] | ||
plainText | byte | The plain text to encrypt. |
password | string | The plain text encryption key. |
Résultat | byte[] |