Skip to content

Proof-of-concept implementation of Damgard et al. secure comparison protocol as proposed in "Secure comparison for online auctions" by Ivan Damgard et al.

License

Notifications You must be signed in to change notification settings

mayank0403/Damgard-Secure-Comparison-Protocol

Repository files navigation

Damgard-Secure-Comparison-Protocol

Proof-of-concept implementation of Damgard et al. secure comparison protocol as proposed in "Secure comparison for online auctions" by Ivan Damgard et al. The code has been written in c++ with Pari c Library for number theoretic operations.

Example Parameter values for running the protocol correctly -

  • Compile and run the file "Bidder.cpp"
  • First enter "1" to use the protocol in 32 bit mode.
  • Then input l = 33
  • Then input t = 20.
    You should now get one of the values in the output to be as "1" if m1>x1.

About

Proof-of-concept implementation of Damgard et al. secure comparison protocol as proposed in "Secure comparison for online auctions" by Ivan Damgard et al.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages