
AES Encryption Decryption Tool in .NET 8 (Console App)
Here is the code! copy it and paste it inside a file (say AESFileEncryptDecrypt.csx) and then run it with dotnet-script AESFileEncryptDecrypt.csx.
I am assuming that you already have dotnet-script tool installed globally in your computer as well as .NET 8 SDK.
In case you don't, you can install