Enhanced block chain and IPFS based secure storage and sharing of electronic healthcare records
摘要
The transition from traditional paper-based medical records to Electronic Healthcare Records (EHRs) has revolutionized data management in healthcare, enabling greater convenience and collaboration. However, EHRs remain vulnerable to unauthorized access and data breaches, particularly when stored on centralized cloud servers, which present single points of failure. This paper introduces a decentralized, patient-centric model leveraging blockchain technology and the Interplanetary File System (IPFS) for secure, scalable EHR management. By implementing role-based access control (RBAC) through smart contracts, patients retain control over their data, selectively granting access to healthcare providers, researchers, and insurers. Data privacy and confidentiality are further strengthened by applying the Advanced Encryption Standard (AES) and Elliptic Curve Diffie-Hellman (ECDH) for secure data transmission. Performance evaluations demonstrate the system’s efficiency and scalability. The deployment of smart contracts resulted in transaction cost of 401,484 gas units for the access control contract and 959,388 gas units for the storage contract, while individual functions such as data upload and retrieval demonstrated lower execution costs compared to existing solutions. AES encryption and decryption times remained efficient, with encryption times scaling consistently across file sizes from 10 MB to 50 MB. The system’s IPFS-based storage provided reliable upload and retrieval times, ensuring scalability for large healthcare datasets. Additionally, security analysis confirms the system’s resilience against various well-known attacks, reinforcing its suitability for secure healthcare data management.