EncryptValidate Code Encryption – NuGet is something that I’m sure all of you have used before. I decided to package and publish my own NuGet package. It’s nothing fancy, it’s just a simple encryption dll that will encrypt data. It also validates encrypted data. Among the other methods, it decrypts data (not the same as the one-way EncryptData() method) and lastly also generates a SecureString object for you.

EncryptValidate Code Encryption

The methods included are as follows:

If you were looking for something else, try these links instead:

As of this blog post, the latest version is version 1.3.0. To get it from NuGet, manage the NuGet packages for your solution. In the Browse tab, type Elysium.Crypt.EncryptValidate.

EncryptValidate

Usage of the dll is as below:

You will also find the latest usage of the code on the dedicated project page for the package. As always, any feedback or suggestions are welcome.

Why must I adopt an encryption strategy?

According to Wikipedia, the list of data breaches include:

The list goes on and on. One thing you should realise, is that your data is never secure. No matter where it is. It is prudent to encrypt sensitive information. You must employ the best security practices in your code base. Start by giving EncryptValidate Code Encryption NuGet package a try.