FIPS Compliant Encryption in .NET 2.0

We have a .NET 2.0 application that uses a class RijindaelManagedto encrypt some sensitive data. This was good until we came across some machines that require the use of FIPS-compatible algorithms.

We would like to switch to AesCryptoServiceProvider, but most of our target computers have not updated .NET 2.0. The demand for updates is out of the question. After all, the updates are scary!

Can i use AesCryptoServiceProviderin a .NET 2.0 application? Since 3.5 uses the 2.0 CLR, I was hoping there might be a way to build the necessary libraries in the application. Otherwise, can someone point me to a link to their own API, which is wrapped AesCryptoServiceProvider?

+3
source share
1 answer

Yes, you can simply add the 3.5 libraries you need with the installation of the application (just use the local copy when creating the project). Since it runs in 2.0, there is no need to update machines if they have .Net 2.0.

+3
source

Source: https://habr.com/ru/post/1744158/


All Articles