A Blockchain-based Self-tallying Voting Scheme in Decentralized IoT

Yannan Li, Willy Susilo, Guomin Yang, Yong Yu, Dongxi Liu, Mohsen GuizaniarXiv 2019

Abstract

As the Internet of Things (IoT) transitions toward decentralized peer-to-peer architectures, traditional centralized voting systems introduce significant bottlenecks and single points of failure. This paper proposes a decentralized, blockchain-based self-tallying voting framework specifically designed for IoT clusters. By combining homomorphic ElGamal encryption with a novel recovery mechanism, the scheme ensures election integrity even when participants abort. We utilize zero-knowledge proofs to maintain ballot secrecy and blockchain as a transparent bulletin board. Performance benchmarks on mobile hardware confirm that the protocol is lightweight and scalable for edge computing environments.

Introduction

In decentralized IoT networks, tasks such as leader election and collective decision-making require robust voting mechanisms. Traditional systems rely on a central tallying authority, which is often incompatible with the P2P nature of modern IoT. While "self-tallying" schemes allow any participant to compute results, they are vulnerable to two primary issues: the abortive issue, where a voter refuses to publish their ballot to block an unfavorable result, and the adaptive issue, where the final voter gains an unfair advantage by seeing partial results.

Interaction between IoT voting devices and the blockchain ledger.

Proposed Methodology

The proposed framework leverages the blockchain as a decentralized ledger to store public keys, commitments, and ballots, ensuring a "dispute-free" environment. The core of the protocol relies on several cryptographic primitives:

  1. Homomorphic ElGamal Encryption: Enables the aggregation of encrypted ballots. The product of ciphertexts corresponds to the ciphertext of the sum of votes, allowing for efficient tallying without decryption of individual votes.
  2. Zero-Knowledge Proofs (ZKPs): Utilizing $\Sigma$-protocols, voters prove their ballots are valid (e.g., containing only a 0 or 1) without compromising privacy.
  3. Commitment and Recovery Phases: To solve the abortive issue, a "Commit" phase is introduced before voting. If a voter fails to cast their ballot, the remaining participants can collaborate to recover the committed choice using previously published data.
The proposed voting protocol workflow, including the recovery phase for aborted votes.

Performance and Security

The protocol was implemented in C++ using the Miracl library and tested on both laptops (Intel i5-4300) and Android mobile devices (Qualcomm MSSM8998). Key findings include:

  • Scalability: Computational costs grow linearly ($O(n)$) with the number of voters, making it ideal for IoT edge clusters.
  • Efficiency: On an Android device, the most intensive "Vote" phase for 12 participants took only 49.8 ms. Tallying is even faster, requiring just 4.07 ms on a laptop.
  • Security: The scheme achieves Maximal Ballot Secrecy (MBS). Even if $n-2$ voters collude, the privacy of the remaining two voters remains intact.

Conclusion

This blockchain-based self-tallying scheme provides a fair and efficient solution for decentralized IoT voting. By addressing the abortive and adaptive issues through commitments and time-locked primitives, the framework ensures that elections reach a conclusion without relying on a central authority. Future work will focus on optimizing energy consumption for more constrained sensor nodes.

Summary updated

BibTeX
@misc{li2019blockchain,
  author = {Yannan Li and Willy Susilo and Guomin Yang and Yong Yu and Dongxi Liu and Mohsen Guizani},
  title = {{A Blockchain-based Self-tallying Voting Scheme in Decentralized IoT}},
  year = {2019},
  eprint = {1902.03710},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1902.03710},
}
Figure