Shuffling a deck on a computer is not a trivial task. It is not the same task as encryption and it is not the same task as game simulation, both of which use PRNG's.
http://www.datamation.com/entdev/article.php/616221/How-We-Learned-to-Cheat-at-Online-Poker-A-Study-in-Software-Security.htm
Is a description of a flaw in the way the deck was shuffled at PlanetPoker.com, the very first web site to offer online poker for cash. A really short description of the flaw is that they produced the seed for the shuffle from the CPU clock. It was a total failure. It was predictable and could be hacked quickly and easily and it was also statistically flawed. There is only one million possible shuffles that could be had from the CPU clock, and there are 80,658,175,170,943,878,571,660,636,856,403,766,975,289,505,440,883,277,824,000,000,000,000 ways to shuffle a 52 card deck, which makes one million just a very tiny tiny fraction of all possible shuffles.
Planet Poker had a shuffle routine that was neither secure, or random in the gaming sense.
This exploit was the most well known. A lot of people thought good they plugged the hole lets move on. But there have been exploits since that involve getting at peoples hole cards. Patches have been made, but is it fixed, not likely.
The challenges of securing a poker game online is daunting, much more complicated then most security problems.
The PP exploit only needed a little data to break a hand, the hole card and the flop, was enough to use a little brute force to figure out what the rest of the players had in hand and what the turn and the river was going to be.
And that is one of the main challenges, you have to give up a little of the key in a poker hand, to every one involved.
Anything can be decrypted with enough time and computer power. When you have to give up some of the solution(IE a poker hand and flop is part of the solution) you are giving a hacker a lot of information that does not need to be figured out with brute force.
A shuffle in poker also has to be a statistically valid shuffle. This means that the shuffle has to play like a real poker game. If you go looking on the web for PRNG (Pseudo Random Number Generators), you will find a wide variety of them. Some are made for simulation, some are made for secure random numbers. You cannot guarantee a secure PRNG will produce statistically valid numbers for a poker game, nor can you guarantee a statistically valid PRNG will produce secure numbers that will keep the shuffle key unknown in a meaningful way.
What you really need to consider is a pretty comprehensive survey of the state of the art with security at a online poker room. You need highly specialized advice if your going to be playing for money with your software. It is a cat and mouse game between hacks and poker sites that is still going on.