Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RAND() not very random
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01155607
Message ID:
01157354
Views:
39
Randall,

The VFP random number generator is the standard 32bit algorithm used everywhere. For encryption purposes you are much better off using one of the multitude of DLLs available.

>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?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform