Example #1
0
 protected override byte[] Decrypt(byte[] data, int start, int length)
 {
     return(AES.Decrypt(data, start, length, Key, IV));
 }
Example #2
0
 /// <summary>
 /// Decrypt data with the key and the initialization vector provided.
 /// </summary>
 public static byte[] Decrypt(byte[] data, int start, int length, byte[] key, byte[] iv, int nbIterations)
 {
     Transform(data, start, length, key, nbIterations);
     return(AES.Decrypt(data, start, length, key, iv));
 }