BA-ORABE: Blockchain-Based Auditable Registered Attribute-Based Encryption With Reliable Outsourced Decryption

Dongliang Cai, Borui Chen, Liang Zhang, Haibin KanarXiv 2024 · DOI

TL;DR

Researchers have developed BA-ORABE, the first system to combine Registered Attribute-Based Encryption (RABE) with reliable outsourced decryption via blockchain. By offloading heavy computations to the cloud while using Ethereum to ensure fairness and auditability, the scheme reduces a user's decryption effort to a single mathematical operation without requiring a trusted central authority.

Introduction

Attribute-Based Encryption (ABE) is a powerful tool for fine-grained data sharing, allowing data to be encrypted according to specific access policies (e.g., "Only Managers in Accounting can access this file"). However, traditional ABE faces two significant hurdles:

  1. The Trust Gap: It typically relies on a "Trusted Authority" to issue keys, creating a single point of failure and the "key escrow" problem.
  2. The Computational Burden: Decrypting ABE ciphertexts is mathematically intensive, often making it impractical for lightweight devices like smartphones or IoT sensors.

While Registered ABE (RABE) recently addressed the trust issue by replacing the central authority with a transparent "key curator," it did not solve the performance problem. Previous attempts to outsource decryption often lacked exemptibility (protecting the server from false accusations by users) or fairness (ensuring the server is paid only for correct results). BA-ORABE bridges this gap.

The BA-ORABE Framework

The authors propose a framework that introduces several novel layers to the RABE construction. The system involves several key entities: the Key Curator (KC), Data Owner (DO), Data User (DU), and a Decryption Cloud Server (DCS) Network.

System workflow of BA-ORABE illustrating the interaction between the Key Curator, Data Owner, Data User, and the Blockchain.

As shown in the workflow above, the process begins with user registration and state management via the Key Curator. The Data Owner uploads encrypted data (ciphertext) to IPFS while posting a verification tag to the blockchain. When a Data User needs to decrypt, they issue a task to the DCS Network. The DCS performs the bulk of the mathematical work, transforming the complex RABE ciphertext into a simple ElGamal-like ciphertext. This reduces the user's final decryption cost to a constant—just one group exponentiation ($E_T$)—regardless of the policy complexity.

Reliability and Auditability

A core contribution of BA-ORABE is its use of Ethereum as a decentralized judge. To ensure the DCS is neither lazy nor malicious, the system integrates Non-Interactive Zero-Knowledge (NIZK) fraud proofs based on Discrete Logarithm Equality (DLEQ).

The fraud proof mechanism involving the Data User, Blockchain, and Public Verifier.

If a user receives incorrect data from the DCS, they can generate a fraud proof. This proof allows a Public Verifier (PV) to confirm the server's failure via the blockchain without the user having to reveal their private secret key. This mechanism ensures exemptibility, preventing malicious users from framing an honest server. The system operates on an "optimistic" assumption: the expensive dispute phase is only triggered if cheating is detected, keeping the standard operating case fast and cost-effective.

Performance and Results

The researchers evaluated BA-ORABE using the Charm framework for cryptographic benchmarks and Solidity for blockchain gas measurements. Key findings include:

  • Massive Speedup: For a policy with 100 attributes, local decryption is 196x to 1585x faster than standard RABE.
  • Constant Storage: The transformed ciphertext sent to the user remains a constant size (two group elements), even as the original ciphertext grows with the number of attributes.
  • Efficient Fraud Proofs: Generating a fraud proof takes less than 1ms, making it feasible for mobile devices.
  • Lower Gas Costs: By avoiding expensive pairing operations directly on the Ethereum Virtual Machine (EVM), BA-ORABE maintains lower and more predictable gas usage compared to prior blockchain-based ABE schemes.

Conclusion

BA-ORABE successfully creates a bridge between authority-free encryption and lightweight performance. By leveraging blockchain for auditability and NIZK for reliability, it provides a secure, scalable solution for decentralized data sharing. Future work may focus on eliminating the need for a semi-honest Public Verifier if Ethereum adds native support for complex group computations, and applying the framework to emerging sectors like SocialFi and GameFi.

Summary updated

BibTeX
@misc{cai2024ba,
  author = {Dongliang Cai and Borui Chen and Liang Zhang and Haibin Kan},
  title = {{BA-ORABE: Blockchain-Based Auditable Registered Attribute-Based Encryption With Reliable Outsourced Decryption}},
  year = {2024},
  eprint = {2412.08957},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.08957},
}
Figure