1 NOTE: This assembly ONLY works under the Windows operating system.
3 All classes inside this assembly should NEVER be used directly by any
4 application. This also means you should never link this assembly with
7 In order to use theses cryptographic implementations you must change your
8 machine.config file to redirect default implementation to the one provided
11 Example: This example will replace the default RandomNumberGenerator
12 implementation (the one used for generating keys and IV) by
13 one using CryptoAPI. Note that there may be multiple entries
14 to modify for a default implementation (like 3 for RNG).
18 ... other config stuff ...
21 <cryptographySettings>
24 <cryptoClass CapiRNG="Mono.Security.Cryptography.RNGCryptoServiceProvider, Mono.Security.Win32, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756"/>
26 <nameEntry name="RandomNumberGenerator" class="CapiRNG" />
27 <nameEntry name="System.Security.Cryptography.RandomNumberGenerator" class="CapiRNG" />
28 <nameEntry name="System.Security.Cryptography.RNGCryptoServiceProvider" class="CapiRNG"/>
30 </cryptographySettings>
35 Note: the whole <mscorlib> section can be missing from your machine.config