1. IIRC, any .NET Crypto class whose name ends in -CryptoServiceProvider
uses CAPI underneath.
2. The RNG service provider :-)
3. Sorry, don't know.
4. Unsure, but probably not without P/Invoke to CAPI. CryptSetProvParam
can be used with PP_USE_HARDWARE_RNG (the Microsoft Provider supports
this)...
HTH,
Ad.
-----Original Message-----
From: Coverston, Ben [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 7:55 AM
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] .NET CSP RNG or PRNG?
Does System.Cryptography.RNGCryptoServiceProvider use the CryptoAPI to
generate random numbers?
Does anybody know which cryptographic service provider the
System.Cryptography.RNGCryptoServiceProvider uses?
Does the .NET Framework seed these numbers with the registry key
(..\Microsoft\Cryptography\RNG)?
Is there a way to get the .NET Framework to use the Intel Firmware Hub
to generate entropy by default?
TIA,
Ben
Notice:
The information contained in this e-mail message and any attached files may
be confidential information, and may also be the subject of legal
professional privilege. If you are not the intended recipient any use,
disclosure or copying of this e-mail is unauthorised. If you have received
this e-mail in error, please notify the sender immediately by reply e-mail
and delete all copies of this transmission together with any attachments.