mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
* Aes.cs: New. Base class for AES cipher. * AesCryptoServiceProvider.cs: New. CSP implementation of AES. For mono we're reusing the managed AesTransform * AesManaged.cs: New. Managed implementation of AES. * AesTransform.cs: New. Actual managed code for AES. * CngAlgorithm.cs: New. * CngAlgorithmGroup.cs: New. * MD5Cng.cs: New. Generated code. * SHA1Cng.cs: New. Generated code. * SHA256Cng.cs: New. Generated code. * SHA256CryptoServiceProvider.cs: New. Generated code. * SHA384Cng.cs: New. Generated code. * SHA384CryptoServiceProvider.cs: New. Generated code. * SHA512Cng.cs: New. Generated code. * SHA512CryptoServiceProvider.cs: New. Generated code. svn path=/trunk/mcs/; revision=109709
21 lines
832 B
Plaintext
21 lines
832 B
Plaintext
Even if CNG is replacing CryptoAPI there is still new stuff, well
|
|
wrappers, being added. This is important, for Windows users, since CNG
|
|
is only available in Windows Vista (and later OS).
|
|
|
|
Since Mono does not support CryptoAPI (even on Windows) all the classes
|
|
with a CryptoServiceProvider suffix are wrappers around managed
|
|
implementations of the same cryptographic algorithm.
|
|
|
|
|
|
New CSP crypto classes Wrapper around
|
|
---------------------- --------------
|
|
AesCryptoServiceProvider RijndaelManaged [1]
|
|
SHA256CryptoServiceProvider SHA256Managed [mscorlib]
|
|
SHA384CryptoServiceProvider SHA384Managed [mscorlib]
|
|
SHA512CryptoServiceProvider SHA512Managed [mscorlib]
|
|
|
|
|
|
[1] Not a true wrapper but a copy of the source. This is required
|
|
since AesManaged is available in Silverlight 2.0 (and RijndaelManaged
|
|
is not available in mscorlib).
|