Using the example code in https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.aes?view=net-5.0 I\'ve made a minimalist version using pythonnet
I