-
Notifications
You must be signed in to change notification settings - Fork 0
cryptobiu/ReplicatedSecretSharing3PartiesNoTriples
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
Repository files navigation
/** * %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% * * Copyright (c) 2016 LIBSCAPI (http://crypto.biu.ac.il/SCAPI) * This file is part of the SCAPI project. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * We request that any publication and/or code referring to and/or based on SCAPI contain an appropriate citation to SCAPI, including a reference to * http://crypto.biu.ac.il/SCAPI. * * Libscapi uses several open source libraries. Please see these projects for any further licensing issues. * For more information , See https://github.com/cryptobiu/libscapi/blob/master/LICENSE.MD * * %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% * */ INTRODUCTION ------------ This package contains an implementation of the Replicated Secret Sharing for three parties and arithmetic circuit protocol. A general explanation of the protocol can be found at INSTALLATION AND EXECUTION -------------------------- In order to compile and run The GMW application: 1. Go in the ReplicatedSecretSharing3PartiesArithmetic directory. 2. Run the make command. 3. to execute run : ./ReplicatedSecretSharing3PartiesArithmetic -partyID [party_id] -inputFile [input_file_name] -outputFile [output_file_name] -circuitFileName [circuit_file_name] -fieldType [field_type] -internalIterationsNumber [internal_iterations_number] -partiesFileName [parties_file_name] for example: ./ReplicatedSecretSharing3PartiesArithmetic -partyID 0 -inputFile inputs200000.txt -outputFile output.txt -circuitFile ArythmeticStatistics1PairsAnd100000SamplesFor3Parties.txt -fieldType ZpMersenne61 -internalIterationsNumber 10 -partiesFile Parties.txt This executes party number 0 of protocol. Notice that the field type can be either ZpMersenne or ZpMersenne61.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published