Efficient and Secure Medical Data Sharing: An Improved CP-ABE Scheme with Outsourced Decryption
Abstract
1. Introduction
- Based on the lightweight FAME architecture, a CP-ABE architecture adapted to medical scenarios is outsourced [13]. Contrary to the traditional outsource models in the previous literature, the generation of attribute keys, as well as the design of transformation keys, is optimized to match resource-constrained medical user terminals.
- A hybrid encryption system is used to balance efficiency and security. Symmetric encryption works with large medical data for high performance, and the symmetric key is also provided with CP-ABE protection to allow fine-grained access control. This design significantly improves system performance in terms of processing large-scale medical images and inspection data.
- The proxy-assisted secure decryption architecture is developed to reduce the computational requirements of the users. The proxy server does most of the decryption work, and the users are left with minimal calculations. Also, malicious proxy resistance is added, which exceeds the security levels of traditional ABE frameworks.
- Strict formal security verification shows that the framework achieves IND-CPA security and is not susceptible to collusion attacks and malicious proxy attacks. This work reinforces the security underpinnings of genuine medical applications, in contrast to most current strategies that provide merely heuristic security discourse.
- Large-scale performance comparisons and experimental analyses confirm the fact that the suggested framework has significant benefits in terms of key generation, encryption, and decryption efficiency. Another trade-off between security and efficiency is better, which makes it more realistic to apply to real medical data sharing systems.
2. Related Work
2.1. Research Progress of Medical Data Sharing
2.2. Research Progress of CP-ABE in Medical Data Sharing
2.3. Limitations of Existing Schemes
3. System Architecture and Definitions
3.1. Scheme Model
3.2. Formal Definition of the Scheme
- The TA executes the system initialization algorithm as follows: Input the system security parameter , output the system public parameters and the system master secret key . This algorithm also completes the initialization of the consortium blockchain and the private IPFS system.
- The TA executes the registration algorithm as follows: Input the system master key and the user attribute set S, output the user secret key , user public key and attribute secret key .
- The DU executes the pre-decryption key generation algorithm as follows: Input the user secret key , public key and attribute secret key , output the pre-decryption key . The user then sends this key to the Cloud Server (CS) for decryption outsourcing.
- The DC executes the data encryption algorithm as follows: Input the original medical data m, access policy and public parameters . First, use the AES algorithm to encrypt the data with the symmetric key to obtain the ciphertext c, then use the CP-ABE algorithm to encrypt to obtain the attribute ciphertext .
- The CS executes the pre-decryption algorithm as follows: Input the public parameters , attribute ciphertext and user pre-decryption key . After verifying that the attributes satisfy the access policy, the CS performs partial decryption operations, outputs intermediate result (pre-decrypted ciphertext) and returns it to the user.
- The DU executes the final decryption algorithm as follows: Input the user secret key , pre-decrypted ciphertext and symmetric ciphertext c. The user first recovers the symmetric key , then uses to decrypt c to restore the original medical data m.
3.3. Security Model
- Initialization. submits a challenge access policy to . runs the system setup algorithm to generate the public parameters and the master secret key . sends to .
- Phase 1 (key queries). adaptively queries any attribute set S such that S does not satisfy . For each such query, does the following:
- Generates a unique user secret key and user public key for the attribute set S by simulating the algorithm.
- Computes the corresponding attribute secret key and pre-decryption key using the master secret key and the user’s .
- Returns to .
The challenger maintains a record of all issued keys to ensure consistency (i.e., the same attribute set always receives the same ). No further restriction is imposed; the challenger answers all such queries honestly. - Challenge. outputs two equal-length messages (representing medical data). randomly chooses and computes the challenge ciphertext by encrypting under the challenge policy using . sends to .
- Phase 2 (key queries). Same as Phase 1. may continue to query attribute sets that do not satisfy . The adversary is not allowed to query any attribute set that satisfies , as such a query would trivially allow decryption of the challenge ciphertext.
- Guess. outputs a guess . If , wins.
4. Construction
4.1. FAME-WB Scheme
4.1.1. System Initialization
4.1.2. Registration
Attribute Key Generation
Pre-Decryption Key Generation
4.1.3. Data Decryption
Pre-Decryption
Final Decryption
4.2. Correctness Verification
5. Security Proof and Analysis
5.1. Security Proof
5.2. Security Analysis
5.2.1. Collusion Resistance Analysis
- User-Specific randomization in key generation. For each Data User (medical staff), the Trusted Authority (TA) independently samples random exponents , , , during the registration and pre-decryption key generation phases. These random values are embedded into the attribute secret key and the pre-decryption key . Because the randomness is statistically independent across users, keys from different users cannot be combined to produce a valid key for any attribute set that is not already satisfied by a single user’s attributes.
- LSSS reconstruction constraint with blinding factors. The access policy is realized via a linear secret sharing scheme (LSSS). Decryption requires finding coefficients such that , where I corresponds to the set of rows whose labels belong to the user’s attribute set. Even if the union of attribute sets from multiple colluding users satisfies the access policy (e.g., meets ), the decryption algorithm operates on a single user’s pre-decryption key at a time. The LSSS reconstruction must use the shares derived from one user’s key because the ciphertext components are paired with that user’s specific blinding factors (e.g., ). When two different users’ keys are mixed, the mismatched random exponents prevent cancellation in the pairing operations, making it impossible to reconstruct the secret.
- Binding to user secret key. Each user’s pre-decryption key is blinded with their own user secret key via terms like and , where . Different users have distinct values randomly chosen by the TA. Any attempt to combine from two users results in mismatched exponents that do not cancel during the final decryption step . Hence, even if colluding users pool their keys, they cannot recover the symmetric key or the original medical data.
5.2.2. Malicious Proxy Behavior Analysis
- Pre-decryption key limitation: The pre-decryption key sent by the medical staff (Data User) to the proxy only contains partial decryption information and does not include the user’s secret key or the symmetric key . The proxy can only perform partial decryption to generate the intermediate ciphertext , but cannot recover the symmetric key or the original medical data m alone. For example, the Cloud Server cannot obtain the patient’s HIV diagnosis result by only holding the pre-decryption key, which ensures that the proxy cannot directly access sensitive medical data, fundamentally preventing the proxy from stealing core medical information.
- Final decryption by Data User: The final decryption process must be completed by the medical staff (Data User) using their own secret key . The proxy only provides the intermediate result , and the medical staff needs to compute to recover the symmetric key (where is a component of the user’s attribute private key), then decrypt the symmetric ciphertext to obtain the original medical data. Even if the proxy tampers with (e.g., modifying the intermediate result of blood pressure data), the medical staff can detect the tampering by verifying the correctness of the decrypted data (e.g., through hash checks or medical data validity verification, such as checking whether the blood pressure value is within a reasonable range), which is particularly important for medical data that requires high accuracy. This two-step decryption mechanism ensures that the proxy cannot tamper with medical data without being detected.
- Blockchain-based audit: The ciphertext hash address, access policy, and pre-decryption records (such as which medical staff accessed which medical data, when, and the proxy’s pre-decryption operations) are stored on the blockchain, which is immutable and transparent. If the proxy performs malicious behavior (such as tampering with the pre-decrypted ciphertext or leaking the pre-decryption key), the behavior can be traced and audited through the blockchain ledger, and the proxy can be held accountable. This audit mechanism further constrains the proxy’s behavior and ensures the integrity of the ABE-based medical data sharing process, providing a traceable security guarantee.
6. Simulation Experiments
6.1. Theoretical Analysis
- Key generation: The Trusted Authority (TA) performs exponentiation operations, multiplication operations, and hash operations in the group . Additionally, 3 exponentiation operations are performed in the group .
- Pre-decryption key generation: The Data User (DU) performs exponentiation operations and multiplication operations in .
- Encryption: The Data Controller (DC) performs one symmetric encryption operation, exponentiations, multiplications, and hash operations in , and 3 exponentiations in .
- Pre-decryption: The Cloud Server (CS) performs exponentiations and 3 multiplications in , along with 6 multiplications and 6 bilinear pairing operations in .
- Final decryption: The Data User (DU) performs 1 exponentiation in , 1 multiplication and 1 bilinear pairing in , followed by one symmetric decryption operation.
6.2. Experimental Analysis
7. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Alruwaill, M.; Mohanty, S.; Kougianos, E. hChain: Blockchain Based Large Scale EHR Data Sharing with Enhanced Security and Privacy. arXiv 2025, arXiv:2505.12610. [Google Scholar] [CrossRef]
- Huang, L.; Lee, H.H. A medical data privacy protection scheme based on blockchain and cloud computing. Wirel. Commun. Mob. Comput. 2020, 2020, 8859961. [Google Scholar] [CrossRef]
- Zhang, R.; Xue, R.; Liu, L. Security and privacy for healthcare blockchains. IEEE Trans. Serv. Comput. 2021, 15, 3668–3686. [Google Scholar] [CrossRef]
- Duan, P.; Gao, H.; Shen, Y.; Guo, Z.; Ma, Z.; Tian, T.; Zhang, Y. Secure collaborative EHR Sharing using multi-authority attribute-based proxy re-encryption in Web 3.0. Comput. Netw. 2024, 255, 110851. [Google Scholar] [CrossRef]
- Yin, H.; Li, J.; Zhu, Y.; Zhang, L.; Qiao, B. A Traceable CP-ABE Scheme Supporting Dynamic Revocation and Efficient Decryption for Medical Data Sharing. IEEE Internet Things J. 2025, 12, 53610–53622. [Google Scholar] [CrossRef]
- Nakamoto, S. Bitcoin: A Peer-to-Peer Electronic Cash System. Preprint (Self-Published). 2008. Available online: https://assets.pubpub.org/d8wct41f/31611263538139.pdf (accessed on 27 April 2026).
- Hao, S.; Dong, X.; Wen, Z.; Nie, T. Enhancing Medical Data Sharing with an Attribute-Based Dynamic Verifiable Searchable Encryption Scheme Using Blockchain. In Proceedings of the International Conference on Web Information Systems and Applications, Yinchuan, China, 2–4 August 2024; pp. 403–414. [Google Scholar]
- Ahmad, A.; Saad, M.; Bassiouni, M.; Mohaisen, A. Towards Blockchain-Driven, Secure and Transparent Audit Logs. In Proceedings of the 15th EAI International Conference on Mobile and Ubiquitous Systems: Computing, Networking and Services, New York City, NY, USA, 5–7 November 2018; pp. 443–448. [Google Scholar]
- Migliorini, S.; Gambini, M.; Belussi, A. A blockchain-based platform for ensuring provenance and traceability of donations for cultural heritage. Blockchain Res. Appl. 2025, 6, 100278. [Google Scholar] [CrossRef]
- Zhang, L.; Ma, X.; Liu, Y. SoK: Blockchain Decentralization. arXiv 2022, arXiv:2205.04256. [Google Scholar]
- Zhao, L.; Dong, G.; Yuan, H. A blockchain-based verifiable CP-ABE scheme for medical data privacy protection. Sci. Rep. 2025, 15, 27325. [Google Scholar] [CrossRef] [PubMed]
- Sahai, A.; Waters, B. Fuzzy identity-based encryption. In Advances in Cryptology–EUROCRYPT 2005, Proceedings of the 24th Annual International Conference on the Theory and Applications of Cryptographic Techniques, Aarhus, Denmark, 22–26 May 2005; Proceedings 24; Springer: Berlin/Heidelberg, Germany, 2005; pp. 457–473. [Google Scholar]
- Agrawal, S.; Chase, M. FAME: Fast attribute-based message encryption. In Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, Dallas, TX, USA, 30 October–3 November 2017; pp. 665–682. [Google Scholar]
- Bao, Z.; He, D.; Wang, H.; Luo, M.; Peng, C. A group signature scheme with selective linkability and traceability for blockchain-based data sharing systems in e-health services. IEEE Internet Things J. 2023, 10, 21115–21128. [Google Scholar] [CrossRef]
- Xiang, A.; Gao, H.; Tian, Y.; Wang, L.; Xiong, J. Attribute-based key management for patient-centric and trusted data access in blockchain-enabled IoMT. Comput. Netw. 2024, 246, 110425. [Google Scholar] [CrossRef]
- Yin, H.; Zhao, Y.; Zhang, L.; Qiao, B.; Chen, W.; Wang, H. Attribute-based searchable encryption with decentralized key management for healthcare data sharing. J. Syst. Archit. 2024, 148, 103081. [Google Scholar] [CrossRef]
- Su, J.; Zhang, L.; Mu, Y. BA-RMKABSE: Blockchain-aided ranked multi-keyword attribute-based searchable encryption with hiding policy for smart health system. Future Gener. Comput. Syst. 2022, 132, 299–309. [Google Scholar] [CrossRef]
- Xiang, X.; Zhao, X. Blockchain-assisted searchable attribute-based encryption for e-health systems. J. Syst. Archit. 2022, 124, 102417. [Google Scholar] [CrossRef]
- Ghopur, D.; Ma, J.; Ma, X.; He, F.; Liu, K.; Jiang, T.; Wang, X. Decentralized Multi-Authority Attribute-Based Searchable Encryption for E-Health Cloud. IEEE Internet Things J. 2025, 12, 15723–15735. [Google Scholar] [CrossRef]
- Roy, S.; Agrawal, J.; Kumar, A.; Rao, U.P. Mh-abe: Multi-authority and hierarchical attribute based encryption scheme for secure electronic health record sharing. Clust. Comput. 2024, 27, 6013–6038. [Google Scholar] [CrossRef]
- Xie, C.; Shi, R.-h.; Zhang, X.; Wang, P.; Guo, W. Verifiable outsourcing EMRs scheme with attribute-based encryption in cloud-edge environments. J. Inf. Secur. Appl. 2023, 76, 103526. [Google Scholar] [CrossRef]
- Al Hasib, A.; Haque, A.A.M.M. A comparative study of the performance and security issues of AES and RSA cryptography. In Proceedings of the 2008 Third International Conference on Convergence and Hybrid Information Technology; IEEE: Piscataway, NJ, USA, 2008; Volume 2, pp. 505–510. [Google Scholar]
- Jayabalan, J.; Jeyanthi, N. Scalable blockchain model using off-chain IPFS storage for healthcare data security and privacy. J. Parallel Distrib. Comput. 2022, 164, 152–167. [Google Scholar] [CrossRef]
- Azbeg, K.; Ouchetto, O.; Andaloussi, S.J. BlockMedCare: A healthcare system based on IoT, Blockchain and IPFS for data management security. Egypt. Inform. J. 2022, 23, 329–343. [Google Scholar] [CrossRef]
- Shree, S.; Zhou, C.; Barati, M. Data protection in internet of medical things using blockchain and secret sharing method. J. Supercomput. 2024, 80, 5108–5135. [Google Scholar] [CrossRef]
- Chen, J.; Gay, R.; Wee, H. Improved dual system ABE in prime-order groups via predicate encodings. In Proceedings of the Annual International Conference on the Theory and Applications of Cryptographic Techniques; Springer: Berlin/Heidelberg, Germany, 2015; pp. 595–624. [Google Scholar]
- Han, D.; Pan, N.; Li, K.C. A traceable and revocable ciphertext-policy attribute-based encryption scheme based on privacy protection. IEEE Trans. Dependable Secur. Comput. 2020, 19, 316–327. [Google Scholar] [CrossRef]






| Scheme | Scheme [23] | Scheme [24] | Scheme [25] | Ours |
|---|---|---|---|---|
| Distributed Storage | ✓ | ✓ | ✓ | ✓ |
| Data Confidentiality | ✓ | ✓ | ✓ | ✓ |
| Fine-grained Access Control | × | × | ✓ | ✓ |
| Outsourced Decryption | × | × | × | ✓ |
| Component | Version |
|---|---|
| Operating System | Ubuntu 20.04.6 |
| Programming Language | Python 3.8.10 |
| Blockchain Platform | Hyperledger Fabric v2.2.1 |
| IPFS | v0.10.0 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Li, Q.; Wang, L.; Zhang, M. Efficient and Secure Medical Data Sharing: An Improved CP-ABE Scheme with Outsourced Decryption. Electronics 2026, 15, 1907. https://doi.org/10.3390/electronics15091907
Li Q, Wang L, Zhang M. Efficient and Secure Medical Data Sharing: An Improved CP-ABE Scheme with Outsourced Decryption. Electronics. 2026; 15(9):1907. https://doi.org/10.3390/electronics15091907
Chicago/Turabian StyleLi, Qingqing, Lin Wang, and Moli Zhang. 2026. "Efficient and Secure Medical Data Sharing: An Improved CP-ABE Scheme with Outsourced Decryption" Electronics 15, no. 9: 1907. https://doi.org/10.3390/electronics15091907
APA StyleLi, Q., Wang, L., & Zhang, M. (2026). Efficient and Secure Medical Data Sharing: An Improved CP-ABE Scheme with Outsourced Decryption. Electronics, 15(9), 1907. https://doi.org/10.3390/electronics15091907

