Format:
Recent snippets matching tags of decrypt
Encrypting appSettings and connectionStrings sections in web.config : aspnet_regiis.exe –pef "appSettings" "<Path.to.website.directory>" aspnet_regiis.exe –pef "connectionStrings" "<Path.to.website.directory>" ----- Encrypting appSettings and connectionStrings sections in web.config and specifying the Data Protection Provider:
24 Views
no comments
To Encrypt, run the following from the Visual Studio command prompt: aspnet_regiis -pe "connectionStrings" -app "/AppName" -prov "RsaProtectedConfigurationProvider" To Decrypt, run the following from the Visual Studio command prompt: aspnet_regiis -pd "connectionStrings" -app "/AppName"
256 Views
no comments
using System; using System.Security.Cryptography; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { string PlainText = "Luciano Evaristo Guerche";
248 Views
no comments
namespace SignAndEncryptXmlDocumentConsoleApplication { using System; using System.IO; using System.Security.Cryptography; using System.Security.Cryptography.Xml; using System.Xml; class Program {
599 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
