Esempio n. 1
0
 public static byte[] Decrypt(this byte[] encrypted, int beginOffset, int count, FAesKey key)
 {
     return(Provider.CreateDecryptor(key.Key, null).TransformFinalBlock(encrypted, beginOffset, count));
 }
Esempio n. 2
0
 public static byte[] Decrypt(this byte[] encrypted, FAesKey key)
 {
     return(Provider.CreateDecryptor(key.Key, null).TransformFinalBlock(encrypted, 0, encrypted.Length));
 }