I try to encode with AES128 a zip file of 0.9 GB and after several seconds exception raises on encrypt method of AES object.
The error message is "Integer overflow".
Here my code:
aes:=TAESEncryption.Create(nil);
aes.AType:=AESObj.atCBC;
aes.key:=Key;
aes.outputFormat:=TConvertType.base64;
aes.paddingMode:=TPaddingMode.PKCS7;
aes.IV:=key;
aes.IVMode:=AESObj.userdefined;
cyp:=aes.Encrypt(msg);