HashRand: Efficient Asynchronous Random Beacon without Threshold Cryptographic Setup

Akhil Bandarupalli, Adithya Bhat, Saurabh Bagchi, Aniket Kate, Michael K. ReiterIACR ePrint 2023

Abstract

Generating unpredictable, bias-resistant randomness is a fundamental requirement for secure distributed systems, including blockchains and multi-party computation. Traditional random beacons often rely on expensive threshold cryptography or fragile synchrony assumptions. This paper introduces HashRand, the first practical asynchronous random beacon protocol that replaces threshold setups with simple hash functions and "approximate agreement." HashRand provides a high-throughput, post-quantum secure source of randomness that scales effectively in geo-distributed environments with high node churn.

Introduction

Distributed systems face a significant challenge in asynchronous environments: a "chicken-and-egg" problem where consensus (State Machine Replication or SMR) often requires a random beacon for leader election or tie-breaking, while most random beacons themselves depend on SMR to agree on output values.

Existing solutions typically fall into two categories, each with significant drawbacks:

  1. Threshold Cryptography: Systems like drand utilize threshold signatures. While fast, they require complex Distributed Key Generation (DKG) setups that must be re-executed when nodes join or leave, incurring high computational costs.
  2. Synchronous Protocols: These assume fixed message delivery windows. Network congestion or denial-of-service attacks can stall these protocols or lead to biased results.

HashRand addresses these issues by being asynchronous, threshold-free, and computationally efficient.

Comparison of HashRand with existing random beacon protocols.

Methodology

The HashRand architecture is built upon three primary pillars designed to break the dependency on SMR and minimize cryptographic overhead:

1. Hash-based Weak VSS (AwVSS)

Instead of relying on complex modular exponentiations or discrete logarithms, HashRand employs a "weak" Verifiable Secret Sharing (VSS) scheme based on Merkle trees and hash functions. This scheme ensures that if one honest node completes the sharing phase, all other honest nodes will eventually do so, providing the necessary guarantees for a beacon with significantly lower latency.

2. Approximate Agreement (AA)

To break the circular dependency between beacons and consensus, HashRand utilizes Approximate Agreement instead of SMR. AA allows nodes to agree on values within a small, predefined distance of each other without requiring a random beacon to function. This architectural choice is the "aha" moment that enables a threshold-free asynchronous design.

The architectural flow of HashRand, showing the transition from secret sharing to approximate agreement.

3. AnyTrust Sampling and Pipelining

To maintain low communication costs, HashRand uses "AnyTrust Sampling," where only a small, randomly selected committee is required to reconstruct secrets. As long as the committee contains at least one honest member, the resulting beacon remains unpredictable. Furthermore, the protocol uses pipelining and batching to amortize the costs of the agreement phase and ensure a continuous stream of randomness.

Evaluation and Results

The authors evaluated HashRand on a geo-distributed testbed using Amazon Web Services (AWS) across eight global regions, with node counts ranging from $n=16$ to $n=136$.

  • Throughput: At $n=40$ nodes, HashRand produces 1,837 beacons per minute, outperforming the threshold-based Dfinity-DVRF by 66% and the partially synchronous Spurt by over 18x.
  • Scalability: At $n=136$ nodes, HashRand maintains a rate of 78 beacons per minute, which is 5x higher than Spurt.
  • Consensus Integration: When integrated into the Tusk SMR protocol (creating "PQ-Tusk"), the system achieved a throughput of 135,000 transactions per second with only 2.3 seconds of latency over a wide-area network.

Discussion and Conclusion

HashRand represents a shift toward "Monte-Carlo" style protocols in distributed systems. It guarantees termination in a fixed time with a mathematically negligible probability of disagreement. This trade-off allows for unprecedented speed and inherent post-quantum security, as the protocol relies on hash functions rather than traditional asymmetric cryptography.

While HashRand scales better than its predecessors, throughput does decrease as the network grows due to the communication intensity of the Approximate Agreement phase. Future work may focus on further optimizing the AA phase or reducing the overhead of establishing secure channels in a post-quantum environment. Overall, HashRand provides a robust and practical foundation for the next generation of high-speed, decentralized applications.

Summary updated

BibTeX
@article{bandarupalli2023hashrand,
  author = {Akhil Bandarupalli and Adithya Bhat and Saurabh Bagchi and Aniket Kate and Michael K. Reiter},
  title = {{HashRand: Efficient Asynchronous Random Beacon without Threshold Cryptographic Setup}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2023},
}
Figure