LibTMCG is a general purpose C++ library for
creating secure electronic card games. The most
remarkable feature is the absence of a trusted
third party (TTP), i.e. neither a central game
server nor trusted hardware components are
necessary. With the present library there is no
need for an independent referee, because the
applied protocols provide a basic level of
confidentiality and fairness by itself.
Consequently, the library is well-suited for
peer-to-peer (P2P) environments where no TTP is
available. The corresponding cryptographic
problem, actually called "Mental Poker", has been
studied since 1979 by many authors. LibTMCG
provides the first practical implementation of
such protocols.