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:
01157508
Views:
27
Howdy David,

>The VFP random number generator is the standard 32bit algorithm used everywhere.

I was kind of expecting that. They're prolly using one of Knuth's algos, or
maybe that algo from that FSU prof whose some kinda random-number guru. (Shrug.)
I was hoping and praying that Microsoft hit the hardware this time, though, getting
values from the hardware-level generators that are starting to show
up on many of the newer motherboards.

>For encryption purposes you are much better off using one of the multitude of
>DLLs available.

You're sure right about that, David. Currently, we're using MD5.fll and just make a
call like: hashword = MD5HASH("passwd") for password encryption. We're also using SSL
(Secure Socket Layer) when dealing with web-based apps. Read: https :^).

In some situations in the oil biz, there's something called a "closed well." Basically,
it means that everyone better keep their mouths' shut and not talk about the hole we're
drilling to any outsiders. Personally, I want to be sure we're covered, and if that means
that our data needs to be encrypted before transport over the net, then so be it.
Let's just say that I don't trust SSL, especially with all the recent news I've been
reading about how its been hacked. (Go back a couple of days on slashdot.org and you'll
find the article, if you're interested.)

Regards, and thanks for the info...

Randall
--
Randall Jouett
Amateur/Ham Radio: AB5NI
I eat spaghetti code out of a bit bucket while sitting at a hash table! Someone
asked me if I needed salt, and I said, "I'm not into encryption." :^)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform