Method | Description | |
---|---|---|
AesCrypto ( string passphrase, byte salt ) : System |
Constructs a new instance of AesCrypto from the specified values.
|
|
AesDecrypt ( string cipherText, bool throwExceptions ) : string |
Uses AES encryption to decrypt a string of data.
|
|
AesEncrypt ( string clearText ) : string |
Uses AES encryption to encrypt a string of data.
|
|
Dispose ( ) : void |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
public AesCrypto ( string passphrase, byte salt ) : System | ||
passphrase | string | The |
salt | byte | The |
return | System |
public AesDecrypt ( string cipherText, bool throwExceptions ) : string | ||
cipherText | string | The encrypted Base64 string to decrypt. |
throwExceptions | bool | If true, will throw exceptions on decryption failure. Else, returns null string on decryption failure. |
return | string |
public AesEncrypt ( string clearText ) : string | ||
clearText | string | The data to encrypt. Data is expected to be Unicode. |
return | string |