Пример #1
0
 public static byte[] EncryptAES(AESKeyData key, byte[] plaintext) {
     return EncryptIGE(plaintext, key.Key, key.Iv);
 }
Пример #2
0
 public static byte[] EncryptAES(AESKeyData key, byte[] plaintext)
 {
     return(EncryptIGE(plaintext, key.Key, key.Iv));
 }
Пример #3
0
 public static byte[] DecryptAES(AESKeyData key, byte[] ciphertext) {
     return DecryptIGE(ciphertext, key.Key, key.Iv);
 }
Пример #4
0
 public static byte[] DecryptAES(AESKeyData key, byte[] ciphertext)
 {
     return(DecryptIGE(ciphertext, key.Key, key.Iv));
 }