[Mono-list] System.Security.Cryptography

Mark Crichton crichton@gimp.org
Sun, 10 Feb 2002 14:58:17 -0500

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


I've decided that I should get my hands dirty with writing some classes
for Mono.  After talking with Matthew Ford, I've decided to tackle at
least his classes (he told me that he doesn't have much free time to
work on them).  I'm also going to lay claim to the
System.Security.Cryptography.RandomNumberGenerator class.

However, this brings up a very important cross-platform point that I
need some help addressing.  Linux, Win32, and Solaris all have ways to
get true cryptographically random numbers (Linux and Solaris through a
/dev/random like device, and Win32 through the CryptoAPI).  I know some
of the *BSD flavors have a /dev/random device as well (OpenBSD I would
guess, but I don't know about the other two).

This leaves out the rest of the Unicies (HPUX being the most notable).
So, anyone here an expert in one of those other OSes care to enlighten
me if there is a good way to get good crypt-quality random numbers,=20
force people to run ESD, or somehow disable the crypto classes that
need a good RNG to be secure (for example, DSA).

Mark Crichton

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.0.6 (SunOS)
Comment: For info see http://www.gnupg.org