HTLP
Homomorphic Time-Lock Puzzle Schemes
Install / Use
/learn @liu-yi/HTLPREADME
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.
- Correctness. A puzzle solver is able to convince other parties of the correctness of the solution that he solves from a puzzle.
- Invalidity. Upon finding that a puzzle is invalid, one can convince other parties of the invalidity of the puzzle.
- 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
-
Install NTL.
-
Install libssl-dev
-
Clone the repository:
git clone https://github.com/liu-yi/HTLP -
Enter the directory
cd HTLP -
Assuming you have globally installed NTL and libssl-dev:
make -
You can test the execution by
./TestHTLP, which is defined insrc/main.cpp.
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate 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
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
