M Random now available; cryptographically strong random numbers for REALbasic (REALbasic network user group Mailinglist archive)

Back to the thread list
Previous thread: [OT] Our Next REAL Studio Project
Next thread: Re: messy waveforms


Dropping objects on App, making it the foreground   -   Rubber Chicken Software Co.
  M Random now available; cryptographically strong random numbers for REALbasic   -   Kem Tekinay
   Re: M Random now available; cryptographically strong random numbers for REALbasic   -   fargo rpgportland.com

M Random now available; cryptographically strong random numbers for REALbasic
Date: 03.03.10 05:45 (Tue, 02 Mar 2010 23:45:54 -0500)
From: Kem Tekinay
I've just posted M_Random, a random number module that will call the
cryptographically strong native random number functions within each OS. In
Mac OS and Linux, that's /dev/random. In Windows, it's RtlGenRandom. The
module comes with a harness project that demonstrates its features, and the
module itself is pretty well commented.

Along with its standalone methods, it also extends the Random class with
these features:

Random.BetweenValues -> Like "InRange" but doesn't care which order the
values are given.

Random.SeedFromEntropy -> Same as using Random.Seed o_Random.RandomUInt32

The module is available now at my web site and is freeware.

__________________________________________________________________________
Kem Tekinay (212) 201-1465
MacTechnologies Consulting Fax (914) 242-7294
http://www.mactechnologies.com

To join the MacTechnologies Consulting mailing list, send an e-mail to:
<email address removed>






_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: M Random now available; cryptographically strong random numbers for REALbasic
Date: 03.03.10 06:53 (Tue, 2 Mar 2010 21:53:48 -0800)
From: fargo rpgportland.com
> I've just posted M_Random, a random number module that will call the
> cryptographically strong native random number functions within each OS. In
> Mac OS and Linux, that's /dev/random. In Windows, it's RtlGenRandom. The
> module comes with a harness project that demonstrates its features, and
> the
> module itself is pretty well commented.
>
> Along with its standalone methods, it also extends the Random class with
> these features:
>
> Random.BetweenValues -> Like "InRange" but doesn't care which order the
> values are given.
>
> Random.SeedFromEntropy -> Same as using Random.Seed > M_Random.RandomUInt32
>
> The module is available now at my web site and is freeware.
>

Awesome Kem! Thanks for sharing that.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>





Links
MBS Realbasic Chart Plugins - Pfarrgemeinde Ministranten Nickenich