Example #1
0
File: Aes.cs Project: mukh1n/Telega
 public static byte[] EncryptAES(AesKeyData key, byte[] plaintext)
 {
     return(EncryptIGE(plaintext, key.Key, key.Iv));
 }
Example #2
0
File: Aes.cs Project: mukh1n/Telega
 public static byte[] DecryptAES(AesKeyData key, byte[] ciphertext)
 {
     return(DecryptIGE(ciphertext, key.Key, key.Iv));
 }