CriptConnectionString-NET-6
This package you can use to encrypt and decrypt your database connection string. We are using public key and private key using .NET 6.
see more here on Nuget Microsoft