In a regular C# application which class to use for hashing: xxxManaged
or xxx
(i.e SHA1Managed
vs SHA1
) and why?
Another difference between the Managed and the CNG Non-Managed versions is the supported .Net Framework version: e.g.
However, I believe that if we are not constrained by the framework version or to support legacy OS versions, we should use the CNG versions: