FairplayMP
FairplayMP provides secure multiparty computation.
Install / Use
/learn @FaiplayMP/FairplayMPREADME
Before you start, be aware that the current FairplayMP requires multiple physical/virtual machines to run it.
Reference: [Readme]
Prerequisite
ant 1.8, java
FairplayMP instructions
Stage 1 - SFDL program:
- Write your program in SFDL2.0 language, you can use the SFLD2.0 specification and examples in the project web site. (You can see the SecondPriceAuction.sfdl example in the package).
- From inside the compiler directory, compile your program using the command:
cp sfdl/SecondPriceAuction.sfdl compiler_v1_built/SecondPriceAuction-tocompile.sfdl
cd compiler_v1_built/compiler
java lab.Runner -f ../SecondPriceAuction-tocompile.sfdl
cd ..
ruby Convertor.rb SecondPriceAuction-tocompile.sfdl
# generating files with .cnv, .Opt.circuit , .Opt.fmt
mv *.cnv ..
mv *.Opt.circuit ..
mv *.Opt.fmt ..
OR
java -cp compiler_v2_built/ sfdl.Compiler sfdl/SecondPriceAuction.sfdl
(Compiler source code is not provided)
Stage 2 - Running the secure multiparty computation:
-
Create the
config.xmlfile fit to the SFDL program. (You can use theconfig.xmlexample in the package - just replace the ip addresses). -
Deploy the package to each participating computer and run:
java -cp runtime/build/classes FairplayMP <randomSeed>
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
