[viff-devel] Mental Poker

2010-08-05 Thread Jonathan Van den Schrieck
Hello,

For my master thesis at UCLouvain (www.uclouvain.be), I wrote a VIFF 
application for mental poker.
Both files are in the .zip that can be found at 
http://www.jovds.be/viff_mental_poker.zip
Usage is : python mental_poker.py [player_config_file] [number_of_players] 
[threshold]

This simulates the shuffling and the dealing of the cards to the players. Both 
Active and Passive runtimes can obviously be used. To get an idea of the 
performances, for a 10 players games with threshold 3 and Active Runtime, it 
takes less than 20 seconds on a single core of an Intel Q6600 (2.4ghz) (one 
computer per player). Each player has to send 250 KB of data (headers included).

I will soon post my thesis, I first need to write some extra's in it.

I hope maybe this could be a nice demo to illustrate the power of VIFF.

I would also like to thank everyone here for their help, and wish good luck in 
the future development of VIFF.

Best regards,

Jonathan Van den Schrieck
___
viff-devel mailing list (http://viff.dk/)
viff-devel@viff.dk
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk


Re: [viff-devel] mental poker

2009-03-29 Thread Martin Geisler
Incantus  writes:

Hi!

> Hello, is it possible to use VIFF to develop mental poker protocols? I
> am trying to build a 2 player card game without the use of a server.
> Thanks.

That would certainly be possible! The PaillierRuntime is an example of a
two-player runtime which uses additive secret sharing and the
homomorphic Paillier encryption for multiplications.

The code is very simple

  http://hg.viff.dk/viff/file/tip/viff/paillier.py

and can be extended with whatever extra methods you need.

Please let us know which protocols/papers you're thinking of
implementing.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.


pgpp9faxtAYfx.pgp
Description: PGP signature
___
viff-devel mailing list (http://viff.dk/)
viff-devel@viff.dk
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk


[viff-devel] mental poker

2009-03-25 Thread Incantus
Hello, is it possible to use VIFF to develop mental poker protocols? I am
trying to build a 2 player card game without the use of a server. Thanks.

Wulfgang
___
viff-devel mailing list (http://viff.dk/)
viff-devel@viff.dk
http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk