Amortized Threshold Symmetric-key Encryption

Mihai Christodorescu, Sivanarayana Gaddam, Pratyay Mukherjee, Rohit Sinha

TL;DR

This paper introduces Amortized Threshold Symmetric-key Encryption (ATSE), a novel cryptographic scheme that significantly speeds up bulk encryption for enterprise systems by amortizing the interaction cost with distributed key servers. ATSE allows a "privileged" client to encrypt large groups of messages with a single interaction, while maintaining the same security guarantees as previous methods for individual decryption.

What Problem Does This Paper Address?

Modern enterprises handle massive amounts of data that require robust encryption. Traditional key management systems often rely on Hardware Security Modules (HSMs), which can face scalability, availability, and cost issues. Threshold cryptography offers a solution by distributing secret keys across multiple servers, requiring a threshold number of them for any operation.

The paper builds upon prior work like Distributed Symmetric-key Encryption (DiSE), which uses threshold cryptography for encryption. However, DiSE requires a separate interaction with the key servers for each message encryption. This becomes a major bottleneck for large datasets, leading to high computation and communication overhead. The authors aim to solve this by allowing a single interaction to cover multiple messages, thus amortizing the cost.

Methods

The core innovation is a new cryptographic primitive called Flexible Threshold Key-Derivation (FTKD). FTKD allows parties to interactively derive pseudorandom keys in different modes:

  • Whole-key mode: Derives a key bound to the entire input.
  • Partial-key modes (left/right): Derives keys bound to parts of the input, which can then be combined locally with the remaining input to derive the same whole-key.

The ATSE scheme is constructed using FTKD and a group commitment scheme based on Merkle trees. This group commitment allows a "privileged" client to commit to a large group of messages with a single, compact commitment. The FTKD primitive is then used to derive a group-specific key from this commitment, which is then used to encrypt all messages in the group. For decryption, an "unprivileged" client interacts with the servers to derive the message-specific key for each individual ciphertext.

The FTKD construction itself is based on a distributed variant of left/right constrained PRFs, utilizing bilinear pairings. The authors also formalize and construct a group commitment scheme with properties like compactness, binding, and cardinality-binding, crucial for ATSE's security.

Datasets

Not discussed in the paper. The evaluation is based on synthetic workloads and performance metrics.

Key Insights and Ideas

  • Amortizing Interaction: The key insight is that for bulk encryption, the necessity of individual server interaction per message is an over-specification. By allowing a single interaction to cover a group of messages, significant performance gains can be achieved.
  • Privileged vs. Unprivileged Clients: The scheme distinguishes between clients that handle large amounts of sensitive data (privileged encryptors) and those that only need to access specific data (unprivileged decryptors). This allows for a more efficient encryption process for the former.
  • FTKD as a Building Block: The introduction of FTKD provides a flexible way to derive keys with different granularities, enabling the amortized encryption while maintaining security. This primitive is presented as potentially useful beyond ATSE.
  • Merkle Trees for Group Commitments: Using Merkle trees for group commitments is a clever way to achieve compact representation and enable fine-grained access control for individual messages within a group.

Key Results

The paper presents a theoretical construction and experimental evaluation.

  • Performance Improvements: In experimental settings, ATSE achieved significant speed-ups compared to a batched DiSE implementation:
  • Latency: Up to 40x lower latency when encrypting 10K messages in bulk.
  • Throughput: Up to 30x more throughput when encrypting 10K messages in bulk.
  • Network Insensitivity: For bulk encryption, ATSE's performance is largely unaffected by network latency and the threshold size, making it suitable for geo-distributed deployments.
  • Security Guarantees: The proposed ATSE scheme provides strong correctness, message privacy, and authenticity, comparable to DiSE, but with improved efficiency for bulk operations.

Limitations and Future Work

  • Ciphertext Size: The ATSE construction results in aggregated ciphertexts that include Merkle proofs. While the size is logarithmic in the number of messages, it can still be substantial for very large groups. The authors mention that this can be compressed by storing the Merkle tree separately.
  • Duplication: The paper notes that while their scheme prevents unauthorized duplication of ciphertexts, fully protecting against a malicious encryptor producing duplicate ciphertexts of the same message without further interaction remains an open question, especially due to CPA-security requirements.
  • FTKD Applications: The authors suggest that FTKD might have applications beyond ATSE, hinting at future research directions.
  • Strongly Secure FTKD: The construction of a strongly secure FTKD is mentioned as being analogous to DiSE's approach and deferred to an appendix, implying potential for further exploration.

Summary updated

BibTeX
@article{christodorescu2021amortized,
  author = {Mihai Christodorescu and Sivanarayana Gaddam and Pratyay Mukherjee and Rohit Sinha},
  title = {{Amortized Threshold Symmetric-key Encryption}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2021},
  url = {https://openreview.net/forum?id=m9224kW3Vw},
}
Figure