I get errors YesUni and Hexa not found.
I use this code from the documentation.
procedure TForm1.Button1Click(Sender: TObject);
var
aes: TAESEncryption;
cipher: string;
begin
aes:= TAESEncryption.Create;
aes.AType:= atCBC;
aes.KeyLength:= kl256;
aes.Unicode := yesUni;
aes.Key:= '12345678901234567890123456789012';
aes.OutputFormat:=hexa;
aes.PaddingMode:= TpaddingMode.PKCS7;
aes.IVMode:= TIVMode.rand;
cipher:= aes.Encrypt('test');
aes.Free;
end;