Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RAND() not very random
Message
From
27/09/2006 09:06:53
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01155607
Message ID:
01157461
Views:
22
>>Hi, Terry/All,
>>
>>I was just wonder how random is VFP's random number generator?
>>I'm sure it's a pseudo-random-number generator, but to what
>>degree? Besides the initial seed, can we feed the thing a seed
>>array for better entropy? I'm kinda wondering what's the period
>>of the generator? What I'm getting at is this: How secure is
>>the generator, and would anyone say it's good enough for encryption
>>purposes?
>>
>>Randall
>
>Hi Randall
>
>From my IT edumication I recall that there (were) very few foolproof rand. gen's. Word on the street is not to trust
>RAND().

There are tests you can run to see how good a pseudo-random number generator is. We included a couple of them in the downloads for HackFox.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform