I want to encrypt the connection string, username and password to paste in Web.config file. At Web API level, before calling the db, I want to decrypt the connection string, username and password.
Please suggest any good .Net built in algorithms which do the same.