Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > Internet Gambling > Internet Gambling

Thread Tools Display Modes
Old 12-27-2005, 01:55 AM
Greg Miller Greg Miller is offline
Senior Member
Join Date: Dec 2005
Posts: 165
Default Re: Explain this about the random number generators

The downside to shuffling the deck once and keeping it for the hand is that it encourages hacking. As far as I can tell there is very little extra computation required to get a new shuffle for each card, so the sites should go with the slightly better alternative. If nothing else it soothes the nerves of paranoids.

[/ QUOTE ]

Actually, not running the PRNG for cards that are never dealt saves CPU load. PRNGs are semi-expensive.

As you said, generating the whole shuffle at once is a security issue, potentially, because PRNGs always generate the exact same sequence of numbers (cards) given the same starting state. If there's a problem with entropy collection or some other issue that allows someone to know the starting state, then the entire deck can be accurately predicted. If, on the other hand, the PRNG output stream is sampled at unpredictable times, how do you predict the next card?
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 06:13 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.