Skip to content

Decomposing a secret-shared integer into shares of its bits, for use in secure comparison operations

Notifications You must be signed in to change notification settings

S1nus/shamir-bit-decomposition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bit-Decomposition of Secret-Shared Values

  • This repo implements the naive protocol described in "Linear Round Bit-Decomposition of Secret-Shared Values" by Thijs Veugen, in IEEE Transactions on Information Forensics and Security, Vol. 10, No. 3, March 2015.
  • It simulates two parties with variables, but I will soon add netcode to facilitate real networking conditions.
  • Also I will soon implement the more-efficient protocol described in the paper.

How it works:

  1. Two parties securely generate a random number and shares of its bits. This could be accomplished by an addition operation of secret-shared integers, and their bits.
  2. The parties sum up the secret value to be decomposed, and the random number.
  3. The parties reveal this sum without revealing anything about the target number.
  4. the parties securely subtract the random number from the revealed number, bit by bit, producing shares of the target number's bits.

After running the protocol, binary-based operations such as secure comparisson, or division by a power of two, can be computed on the bit shares.

Uses Snips.ai's Secret Sharing library

About

Decomposing a secret-shared integer into shares of its bits, for use in secure comparison operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages