Efficient Secret Sharing for Large-Scale Applications

Sarvar Patel, Giuseppe Persiano, Joon Young Seo, Kevin YeoIACR ePrint 2024

TL;DR

This paper introduces a novel secret sharing scheme, RB-SS, that significantly speeds up reconstruction for large numbers of parties and high security thresholds. By leveraging a new type of erasure code based on random band matrices, RB-SS offers practical efficiency gains of up to 7.8x over existing methods, making secret sharing more viable for large-scale applications like federated learning and secure aggregation.

What Problem Does This Paper Address?

Secret sharing is a fundamental cryptographic technique that allows a secret to be distributed among multiple parties, such that only a qualified subset can reconstruct it. While threshold secret sharing (where t out of n parties are needed) is well-established, its message reconstruction process becomes computationally expensive as t increases. This bottleneck limits its practical use in large-scale systems. Ramp secret sharing generalizes this by allowing a larger correctness threshold (c) than the privacy threshold (t), offering more flexibility. However, existing practical ramp secret sharing schemes often rely on erasure codes that are either theoretically complex or only provide security against static adversaries (who commit to their corruptions beforehand). This paper tackles the challenge of creating a secret sharing scheme that is both computationally efficient for large t and robust against adaptive adversaries (who can change their corruptions based on system behavior).

Methods

The core of this work lies in two main innovations:

  1. A New Secret Sharing Framework: The authors build upon existing frameworks that use linear erasure codes and hash functions. Their key contribution is a modification that allows the use of erasure codes with weaker correctness guarantees while still achieving security against adaptive adversaries. This is achieved by ensuring that the generator matrix of the erasure code is "distributed" – each row is generated independently and not revealed upfront. This prevents an adaptive adversary from learning about the entire matrix by corrupting only a few parties.
  2. Efficient Erasure Code Construction (RB-SS): To instantiate their framework, they introduce a novel linear erasure code based on "random band matrices." They adapt existing random band matrix constructions to have more rows than columns and incorporate a "wrap-around" feature. This modification, combined with a specific band length, allows the code to have high probability of full column rank and be efficiently decoded. This "RB" (Random Band) code is designed to have the distributed generation property required by their framework.

They then combine this RB erasure code with their framework to create the RB-SS secret sharing scheme. They also extend this to verifiable secret sharing (VSS) schemes, enabling parties to verify the integrity of shares.

Datasets

Not discussed in the paper. The paper focuses on theoretical constructions and experimental evaluation of their proposed algorithms, rather than training on or evaluating against specific datasets.

Key Insights and Ideas

  • Distributed Generation is Key for Adaptive Security: The insight that a distributed generator matrix for erasure codes is crucial for achieving adaptive security in secret sharing is a significant theoretical advancement. It decouples the security of the secret sharing scheme from the strong correctness guarantees of the erasure code.
  • Random Band Matrices are Surprisingly Versatile: The paper demonstrates that random band matrices, previously used in areas like data structures, can be adapted to create highly efficient and secure erasure codes suitable for cryptography. The wrap-around modification is essential for achieving the desired properties.
  • Practical Efficiency Gains are Substantial: The experimental results show that RB-SS is not just theoretically sound but also practically much faster than existing schemes, even those with weaker security guarantees. This bridges the gap between theoretical ideals and real-world deployment.
  • Weak Correctness Can Suffice: By cleverly designing the framework, the authors show that weaker correctness guarantees from erasure codes are sufficient when combined with the distributed generation property, leading to more practical constructions.

Key Results

  • Reconstruction Speedup: RB-SS offers reconstruction times that are 2-7.8x faster than Shamir's scheme for large privacy thresholds (t). For t = 2<sup>20</sup>, RB-SS takes 5 seconds compared to nearly half a minute for prior work.
  • Correctness Threshold: The scheme achieves a correctness threshold of c ≥ 1.05t, which is more flexible than some prior schemes.
  • Verifiable Secret Sharing (VSS) Improvements: Their verifiable secret sharing schemes (RB-F-VSS and RB-P-VSS) achieve 8.2-25.2x faster sharing and 2.7-23.2x faster reconstruction compared to prior works.
  • Federated Learning Impact: Integrating RB-SS into secure aggregation protocols for federated learning resulted in up to 22% reduction in computational cost.
  • Adaptive Security: The proposed RB-SS scheme provides security against adaptive adversaries, a stronger guarantee than many practical alternatives.

Limitations and Future Work

  • Verifiable Secret Sharing Correctness: While their VSS schemes maintain privacy against adaptive adversaries, correctness guarantees are limited to non-adaptive adversaries. The authors leave it as an open problem to achieve adaptive correctness for VSS.
  • Share Size: The framework increases share size by including seeds for matrix generation. While the masked message can be part of public parameters, the seed adds a small overhead.
  • Non-Homomorphic Applications: While the framework can be instantiated with non-linear hash functions for efficiency, this sacrifices the linear homomorphism property. The authors note that linearity is not always necessary for applications like federated learning.
  • Further Optimizations: The authors suggest exploring other variants of peeling-based codes for distributed generation and improving share sizes for smaller messages. They also point to the potential of applying their techniques to other cryptographic primitives.

Summary updated

BibTeX
@article{patel2024efficient,
  author = {Sarvar Patel and Giuseppe Persiano and Joon Young Seo and Kevin Yeo},
  title = {{Efficient Secret Sharing for Large-Scale Applications}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2024},
  doi = {10.1145/3658644.3670379},
}
Figure