Example #1
0
 /// <summary>
 /// Encrypts data with AES and updates the IV
 /// </summary>
 /// <param name="data">The data to crypt</param>
 public void crypt(byte[] data)
 {
     AESEncryption.aesCrypt(_IV, data, data.Length);
     updateIV();
 }
Example #2
0
 /// <summary>
 /// Encrypts data with AES and updates the IV
 /// </summary>
 /// <param name="pData">The data to crypt</param>
 public void crypt(byte[] pData)
 {
     AESEncryption.aesCrypt(mIV, pData, pData.Length);
     updateIV();
 }