Giter Site home page Giter Site logo

sbis04 / mediblock Goto Github PK

View Code? Open in Web Editor NEW
28.0 3.0 4.0 13.84 MB

App for sharing medical records securely (using custom encryption scheme and blockchain)

License: MIT License

Kotlin 0.12% Swift 0.36% Objective-C 0.03% Dart 96.97% HTML 1.33% Ruby 1.19%
ehrs blockchain post-quantum flutter infura rinkeby metamask ethereum cpp solidity

mediblock's Introduction

MediBlock

An app for sharing electronic health records (EHRs) securely using Blockchain based searchable-encryption scheme.

Key features

  • Uses a custom encryption scheme designed by us (based upon multiple research proven concepts - scroll down to know more)

  • Immune against quantum attacks

  • Minimal transaction cost and low data retrieval/storage time

  • Easy to use and simple app UI (having all the highly complicated computation stuff in the backend)

POINT TO NOTE: We don't upload the file to blockchain, rather just store some data required for the encryption (keeping the transaction cost low and requires minimal time for retrieving/storing data to blockchain).

Technology stack

  • Flutter
  • Dart
  • Firebase
  • Google Sign In
  • Solidity (ethereum smart contract)
  • Metamask
  • Rinkeby
  • Infura
  • C++11

The problem

With more data being pushed to external cloud storage, privacy concerns are usual. Straightforward encryption of uploaded data strips the ability to search over it with some keywords: a highly desirable ability in some use-cases as EMR (Electronic medical records) and IIoT (Industrial Internet of Things). Consequent efforts at constructing post-quantum searchable encryption schemes have failed to resist a curious server launching inside offline keyword guessing attack. Moreover, for every intended receiver, the data owner performs computation separately, implying prior knowledge about recipients. In use-cases, such as EMR, prior knowledge of intended recipients (medical centers) is not true. In this work, we propose a forward-secure searchable encryption scheme that leverages blockchain to take the burden of repetitive computations off the data owner. The proposed scheme resists attacks from an honest-but-curious server and protects the privacy of searches performed.

The scheme used was developed as a part of a research project under Dr. S.K. Hafizul Islam and Dr. Sherali Zeadally.

The scheme we developed has the following properties:

  • Post-quantum: the scheme is secure in post-quantum environments, i.e. it is resistant to attacks from fully developed quantum computers.

  • Forward-secure: Amongst multiple sessions, if i-th session is compromised/hacked, there is guarantee that all to-be-initiated sessions in future are not automatically compromised.

  • Server-blindness: The server only stores the encrypted EHRs. In no way it is possible for the server to be able to deduce the contents of the EHRs or the search patters employed by medical professionals.

System model

The scheme has the following participants:

Trusted Third Party (TTP): generates keys for users and performs one-time delivery over secure channel (eg. TLS) Initializes system parameters

Data Owner (DO): Someone who stores their medical history on the server. For instance, a patient.

Data User (DU): Someone, liks a medical professional, who uses DO’s history.

Cloud Server (CS): The government approved server in our previous slides, where the EHRs are stored

Ledger: A decentralized blockchain network that enables the DO to encrypt data once and let any authorized doctor use it.

Wireframe (with some description)

Initial planning

Plugins

License

Copyright (c) 2020 Bharat Keswani, Nimish Mishra, Souvik Biswas

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

mediblock's People

Contributors

kb54 avatar nimishmishra avatar sbis04 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mediblock's Issues

No smartcontract

Hey, You have not provided with the smart contract and not explained how you are able to do Gasless transactions , so can you please provide with the same. It will be really gr8full

secret.dart file is not there

@sbis04 it showing 2 errors how can i fix those errors ? tagert uri doesnt exist /mediblock/secret.dart do i need to generate private keys or something to get it working ???

Information about Smart Contract

Hi..
Could you please provide the smart contract file, or either the code, which was deployed on Remix IDE. (class and the methods inside it). (to understand more about, what's happening inside the block chain).

Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.