Building string Encryption Library in C#.NET using AES encryption

In this post i will show how to build class library (.dll) for string encryption and use it in client application,the encryption algorithm is AES , its not breakable method for encryption.

Any .NET developer can use this class library in any .NET project as dll reference to protect the sensitive data for example :

  • Some sensitive URL parameters in ASP.NET projects such as the id of page or logged in user.
  • Password field in database (Hashed password).
  • Cookies encryption.
In String Encryption class you can change the secret encryption key its defined in cost string variable.

Screenshot for library client application :




Hope its helpful.

Comments

Popular posts from this blog

How to remove (.aspx) from ASP.NET web forms page url using Friendly URL package.

ASP.NET MVC - Load Partial View using ajax with progress indicator - Visual Studio 2013 MVC 5

Create (post) JIRA ticket (Issue) with rest API using C# ASP.NET