This Readme shows how to use the two-party PF-SFE software FairplayPF FairplayPF is an extension of the two-party SFE software Fairplay for SFE of private functions (PF-SFE) See Readme.txt for how to use the original two-party SFE software Fairplay Author: Thomas Schneider. Date: 24 January 2008 ======================================================= A. Examples for compiling an SFDL program: ------------------------------------------ 1. run_bobPF -c progs/Billionaires.txt (-c for compile, progs/Billionaires.txt - SFDL program to compile) The command produces two output files for Bob: 1. progs/Billionaires.txt.shdlPF.Bob.Opt.circuit (an SHDL circuit) 2. progs/Billionaires.txt.shdlPF.Bob.Opt.fmt And one output file for Alice: 3. progs/Billionaires.txt.shdlPF.Alice.Opt.fmt (format description) B. Example for running BobPF (should be first): --------------------------------------------- run_bobPF -r progs/Billionaires.txt S&b~n2#m8_Q 4 (-r for run, progs/Billionaires.txt - program to run, 3rd parameter - crazy string for random seed, 4th parameter - OT type [1-4], 4 is the best one, 5th parameter (optional) - UC type, best if omitted) C. Example for running AlicePF (should be second): ------------------------------------------------ run_alicePF -r progs/Billionaires.txt 5miQ^0s1 humus.cs.huji.ac.il (-r for run, progs/Billionaires.txt - program to run, 3rd parameter - crazy string for random seed, 4th parameter - hostname where Bob is, 5th parameter (optional) - UC type, use same as Bob or omit for best) D. Some general comments: ------------------------- 1. As with regular programs - first compile, then run. 2. BobPF & AlicePF use fixed port (no. 3496) for TCP/IP communication.