[Mono-devel-list] BigInteger...

Sébastien Pouliot spouliot at videotron.ca
Sun Nov 9 23:36:59 EST 2003


Hello Pieter,

BigInteger is now internal in Mono's corlib. This was done so corlib would
have a similar signature with Microsoft's mscorlib.

One day, when BigInteger is "safe" again (it's now use unsafe code until
some optimization are included into the JIT) the BigInteger class will be
included, "public"ly, into Mono.Security.dll assembly.

For the RNG, Mono has it's own machine.config file. It's located, on my
computer, under C:\Program Files\Mono-0.28\etc\mono. Be sure to check your
environment variables. Sometimes the MONO... variables have "" each side of
the directory name. This can confuse Mono when looking at the machine.config
file.

BTW I checked-in your RIPEMD160.cs/RIPEMD160Managed.cs code into CVS this
weekend. I added some unit tests and it all seems to work nicely both for
the Hash and HMAC results. Thanks.

Sebastien Pouliot
Security Architect, Motus Technologies, http://www.motus.com
work: spouliot at motus.com
home: spouliot at videotron.ca
blog: http://pages.infinit.net/ctech/poupou.html


-----Original Message-----
From: mono-devel-list-admin at lists.ximian.com
[mailto:mono-devel-list-admin at lists.ximian.com]On Behalf Of Pieter
Philippaerts
Sent: 9 novembre 2003 23:20
To: mono-devel-list at lists.ximian.com
Subject: [Mono-devel-list] BigInteger...


What happened to the BigInteger class in Mono 0.28?
I wrote some code that uses the BigInteger, and it compiled correctly on
Mono 0.26, but when I try to compile it on 0.28, the compiler says "Cannot
find type `BigInteger'". If I compile the code with 0.26 and run it with
0.28, the code is able to access the BigInteger class without a problem.

Also, does anyone know how to force the runtime to use the Win32 random
number generator? I followed the instructions at http://tinyurl.com/uckw,
but Mono 0.28 seems to ignore the machine.config file [it keeps using the
*nix-only RNG implementation after making the modifications]. Mono 0.26 does
not seem to have a machine.config file [well.. I can't find it].

Regards,
Pieter Philippaerts

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list