Godot Version
4.2.2 Godot .NET (.net 8)
Question
Hello everybody,
calling .NET Aes.CreateDecryptor for creating a ICryptoTransform, crashes the Android app. And error seems not to bubble up, since I am not able to get it in a try…catch.
This is the .NET source code of the method I called:
public sealed override ICryptoTransform CreateDecryptor(byte rgbKey, byte? rgbIV)
{
return CreateTransform(rgbKey, rgbIV.CloneByteArray(), encrypting: false);
}
Following the MS .NET source code I cannot figure out what can possibly cause the issue in Android.
Key and IV are correct and verified., same for Padding and Cipher mode.
Exactly same code is working on the same app for Android compiled with Unity…
Perhaps something during Godot compilation may strip some code?
Please, any hint is appreciated.
Thanks