AES GCM in .NET 8 (.csx script)
Well, sooner or later, I would need a way to encrypt things, a safe way, therefore here I leave the code for AES GCM string encryption with .NET 8.
I assume you already have .NET 8 installed as well as dotnet-script.
#!/usr/bin/env dotnet-script
/*
======================================================================
+ AES-GCM (Galois/Counter Mode)
-