GithubHelp home page GithubHelp logo

liu-yi / htlp Goto Github PK

View Code? Open in Web Editor NEW
141.0 21.0 26.0 3.5 MB

Homomorphic Time-Lock Puzzle Schemes

License: MIT License

Makefile 1.03% C++ 98.97%
cryptography homomorphic-time-lock-puzzle time-lock-puzzle

htlp's Introduction

Homomorphic Time-Lock Puzzle Schemes

This is the repository for the paper

Towards Practical Homomorphic Time-Lock Puzzles: Applicability and Verifiability, ESORICS 2022 [Link]

by Yi Liu, Qi Wang, Siu-Ming Yiu.

Introduction

This repository provides implementations for the additively homomorphic time-lock puzzle scheme with solution space $\mathbb{Z}_n$ in [MT19] and our multiplicatively homomorphic time-lock puzzle scheme with solution space $\mathbb{Z}_n^*$.

To avoid the redundant cost of the puzzle-solving process, we provide three simple and fast protocols for both the additively HTLP scheme with the solution space $\mathbb{Z}_n$ and our multiplicatively HTLP scheme, respectively, to verify the following three properties.

  1. Correctness. A puzzle solver is able to convince other parties of the correctness of the solution that he solves from a puzzle.
  2. Invalidity. Upon finding that a puzzle is invalid, one can convince other parties of the invalidity of the puzzle.
  3. Validity. A puzzle generator can convince other parties of the validity of the puzzle he generated.

Dependencies

This project has dependencies of NTL and OpenSSL.

Build

  1. Install NTL.

  2. Install libssl-dev

  3. Clone the repository:

    git clone https://github.com/liu-yi/HTLP
    
  4. Enter the directory

    cd HTLP
    
  5. Assuming you have globally installed NTL and libssl-dev:

    make
    
  6. You can test the execution by ./TestHTLP, which is defined in src/main.cpp.

htlp's People

Contributors

liu-yi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.