Skip to main content

Secure Cloud-Based Patient Data Management Using Encrypted Search

Page 1

International Research Journal of Engineering and Technology (IRJET)

e-ISSN: 2395-0056

Volume: 12 Issue: 03 | Mar 2025

p-ISSN: 2395-0072

www.irjet.net

Secure Cloud-Based Patient Data Management Using Encrypted Search L.Kirankumar Reddy1, Dr. K.Venkataramana2 1Student, Dept of MCA, KMMIPS, Tirupati

2Professor, Dept of MCA, KMMIPS, Tirupati

---------------------------------------------------------------------***---------------------------------------------------------------------

Abstract - Secure storage and retrieval of patient data in

decrypting it first. This ensures that sensitive data remains confidential even during search operations. In traditional encryption schemes, data must be decrypted before searching, which exposes it to potential security risks. Searchable encryption eliminates this vulnerability by enabling secure and efficient querying of encrypted data.

cloud environments present significant challenges due to privacy concerns and security risks. This paper introduces Secure Cloud-Based Patient Data Management with Encrypted Search, a robust framework that ensures data confidentiality while allowing efficient searchability. The proposed system encrypts patient information before storage in a MySQL database, utilizing a secure encryption scheme to generate unique encrypted identifiers for each record. A novel encrypted search mechanism enables authorized users to retrieve patient data without exposing sensitive information. This approach enhances data security, mitigates unauthorized access risks, and ensures compliance with healthcare regulations. Experimental results demonstrate the effectiveness of the encryption and search functionalities, proving the system’s efficiency in real-time patient data management.

In this system, we employ symmetric encryption algorithms like AES (Advanced Encryption Standard) to encrypt patient data before storing it in the MySQL database. The encrypted data is indexed using a numeric encrypted ID , which is generated using a reversible mathematical formula: (encrypted_id = (T * 7) + 11) , where T is any Primary key in this case it is PatientID. This formula ensures that each patient record has a unique identifier while maintaining reversibility for decryption purposes.

Key Words: Encrypted Search, Secure Patient Data, Cloud Security, MySQL Encryption, Binary Search Tree, Data Privacy, Healthcare Security, Cryptographic Techniques.

To further optimize search operations, we integrate Binary Search Trees (BST) into the system. BSTs allow for logarithmic-time (O(log n)) searches, significantly improving efficiency compared to linear search methods. When a user provides an encrypted_id, the system uses the BST to quickly locate the corresponding record in the database. Once the record is retrieved, the data is decrypted using the same encryption key, and the original patient information is displayed.

1.INTRODUCTION The rapid digitization of healthcare systems has led to an increased need for secure management of patient data. This paper presents a comprehensive solution for secure cloud-based patient data management using encrypted search techniques. The proposed system ensures that sensitive patient information, such as names, addresses, contact details, and Aadhar numbers, is stored in an encrypted format within a MySQL database. To facilitate efficient retrieval, a numeric encrypted ID is generated for each patient record using a reversible mathematical formula. The system employs the Fernet symmetric encryption algorithm to encrypt and decrypt sensitive fields, ensuring data confidentiality while enabling authorized users to retrieve original information through a secure search mechanism. By leveraging Python for backend operations and integrating principles of cloudbased storage, this solution demonstrates a practical approach to safeguarding healthcare data against unauthorized access.

1.2Role of the AES Algorithm: The AES (Advanced Encryption Standard) algorithm plays a critical role in ensuring the confidentiality of patient data. AES is a symmetric encryption algorithm widely regarded as one of the most secure and efficient methods for encrypting sensitive information. It operates on fixedsize blocks of data (128 bits) and supports key sizes of 128, 192, or 256 bits, providing robust protection against brute-force attacks. In this system:  

1.1 Searchable Encryption Searchable encryption is a cryptographic technique that allows users to search over encrypted data without

© 2025, IRJET

|

Impact Factor value: 8.315

|

Each sensitive field (e.g., name, address, contact, DOB, Aadhar) is encrypted individually using AES before being stored in the database. During retrieval, the same AES key is used to decrypt the fields, ensuring that only authorized users with access to the encryption key can view the original data.

ISO 9001:2008 Certified Journal

|

Page 664


Turn static files into dynamic content formats.

Create a flipbook
Secure Cloud-Based Patient Data Management Using Encrypted Search by IRJET Journal - Issuu