M_Random

Software Screenshot:
M_Random
Software Details:
Version: 1.0
Upload Date: 2 Jan 15
Distribution Type: Freeware
Downloads: 15
Size: 23 Kb

Rating: 2.0/5 (Total Votes: 1)

M_Random is a REAL Studio/REALbasic 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 well commented.

These are the functions it implements:

  • RandomDouble
  • RandomBoolean
  • RandomInt8
  • RandomInt16
  • RandomInt32
  • RandomInt64
  • RandomUInt8
  • RandomUInt16
  • RandomUInt32
  • RandomUInt64
  • InRange( value1, value2 )
  • InRange_Int64( value1, value2 )
  • BetweenValues( value1, value2 ) alias for InRange
  • BetweenValues_Int64( value1, value2 ) alias for InRange_Int64
  • LessThan( value )
  • LessThan_Int64( value )
  • ArrayInRange( cnt, value1, value2 )
  • ArrayInRange_Int64( cnt, value1, value2 )
  • RandomMemoryBlock( mbSize )
In addition, the module extends the native Random class with new methods:
  • Random.BetweenValues Like InRange, but values can be given in any order
  • Random.SeedFromEntropy Same as using Random.Seed = M_Random.RandomUInt32

Requirements:

REALbasic 2005r1 or later.

Similar Software

FlowLayout
FlowLayout

22 Nov 14

ExcelExporter
ExcelExporter

2 Jan 15

Caveman Sound
Caveman Sound

4 Jan 15

VijuLicenseKit
VijuLicenseKit

3 Jan 15

Other Software of Developer MacTechnologies Consulting

mtcmail
mtcmail

12 Dec 14

RegExRX
RegExRX

28 May 15

MacTFTP Client
MacTFTP Client

12 Dec 14

mtcmail CLI
mtcmail CLI

9 Jul 15

Comments to M_Random

Comments not found
Add Comment
Turn on images!