Haskell Quiz/The Solitaire Cipher
The first puzzle of the rubyquizz series was to implement the Solitaire cipher  Bruce Schneier made for Neil Stephenson's Cryptonomicon . The twist is that it's designed to be done by a Spy in a containment camp with no other tools than a deck of bridge cards.
1 The problem
(incomplete, but stream generation works)