Метод | Описание | |
---|---|---|
AES ( ) : System | ||
Decrypt ( byte cipherTextBytes, string password = null, string salt = null, string initialVector = null ) : string |
Decrypts an AES-encrypted string.
|
|
Decrypt ( string cipherText, string password = null, string salt = null, string initialVector = null ) : string |
Decrypts an AES-encrypted string.
|
|
Encrypt ( string plainText, string password = null, string salt = null, string initialVector = null ) : string |
Encrypts a string with AES
|
|
EncryptToBytes ( byte plainTextBytes, string password = null, string salt = null, string initialVector = null ) : byte[] |
Encrypts a string with AES
|
|
EncryptToBytes ( string plainText, string password = null, string salt = null, string initialVector = null ) : byte[] |
Encrypts a string with AES
|
public Decrypt ( byte cipherTextBytes, string password = null, string salt = null, string initialVector = null ) : string | ||
cipherTextBytes | byte | |
password | string | Password to decrypt with |
salt | string | Salt to decrypt with |
initialVector | string | Needs to be 16 ASCII characters long |
Результат | string |
public Decrypt ( string cipherText, string password = null, string salt = null, string initialVector = null ) : string | ||
cipherText | string | Text to be decrypted |
password | string | Password to decrypt with |
salt | string | Salt to decrypt with |
initialVector | string | Needs to be 16 ASCII characters long |
Результат | string |
public Encrypt ( string plainText, string password = null, string salt = null, string initialVector = null ) : string | ||
plainText | string | Text to be encrypted |
password | string | Password to encrypt with |
salt | string | Salt to encrypt with |
initialVector | string | Needs to be 16 ASCII characters long |
Результат | string |
public EncryptToBytes ( byte plainTextBytes, string password = null, string salt = null, string initialVector = null ) : byte[] | ||
plainTextBytes | byte | Bytes to be encrypted |
password | string | Password to encrypt with |
salt | string | Salt to encrypt with |
initialVector | string | Needs to be 16 ASCII characters long |
Результат | byte[] |
public EncryptToBytes ( string plainText, string password = null, string salt = null, string initialVector = null ) : byte[] | ||
plainText | string | Text to be encrypted |
password | string | Password to encrypt with |
salt | string | Salt to encrypt with |
initialVector | string | Needs to be 16 ASCII characters long |
Результат | byte[] |