So, have you read the document that hrothgar pointed you to? (granted, because he typoed the name "SquareDeal", and "Square Deal" with a space means something different, it may have been difficult for you to do so.)
The doc files, in particular the BigDeal simplified, the introductory parts of the BigDeal detailed and the SquareDeal documents, will give you the information you need.
Some choice quotes:
Quote
Before we can design new software it should be clear what it should achieve. Dealing software is supposed to simulate correct shuffling by the players themselves, and should deviate from this goal as little as possible. Therefore dealing software should conform to certain minimum requirements:
1. The software should be able to generate every possible bridge deal, since that is also possible with manual dealing
2. The software should generate every deal with the same probability, without being influenced by the board number, previous hands or any other circumstance
3. It should be impossible to predict deals, even after having seen all other deals in the session
Quote
To avoid all these flaws, the new software was designed according to a couple of principles:
1. Gather more than 96 bits of randomness to stand a chance of satisfying the requirement to be able to generate every possible bridge deal
2. Use a PRNG with good statistical properties to satisfy the requirement of generating all hands with equal probability
3. Use a PRNG with strong cryptographic properties to satisfy the requirement of not being able to predict deals
5. Make it as difficult as possible for the operator of the program to make the sort of mistake that would lead to a duplicated series of deals
The fifth principle will be taken to extremes: as far as possible the software should view the operator as an enemy in the struggle to generate unique sequences. Whatever the operator tries, he should not be able to get the program to generate the same sequence twice.
(my emphasis here. #4 is "allow multiple output formats to make the output easy to use". The software these two quotes reference has been available for use, and the source code available for review, and has been used for most tournaments worldwide, for over a decade)
And since there were issues with "potential manipulation of the output" brought up in the last 10 years, SquareDeal now:
Quote
SquareDeal ... uses the well-known program BigDeal for actual dealing, but adds two things:
1. An easy way to make multiple sets of deals for various sessions using consistent naming
2. A way for participants to check the hands were dealt honestly and without any tricks by the organizer
Using SquareDeal a specific procedure is needed, with various phases, by organizer and participants. There is no actual need for participants to do anything, but if they want to check the hands after the tournament, they need to do something even before the tournament.
Which involves "Using something I keep secret (until afterwards, for post-game checks), something I release publicly (so that I can't manipulate anything during dealing), and something that doesn't exist until well after I commit to the public information (but we can both find out trivially when it does happen)".
Don't just say "I can see all these problems, therefore there's no way to disprove my conclusion, therefore somebody must have done it." Yes, there are all those problems. People have been trying to come up with solutions to these problems (in and out of bridge) since Shannon's work in Bell Labs in 1943. There are (complicated) solutions to a lot of the trivial problems, at least.
When I go to sea, don't fear for me, Fear For The Storm -- Birdie and the Swansong (tSCoSI)