| In the last few years,the Internet of Things(IoT)has become important part of our lives and its influence is expected to exponentially increase in the next years.Computer systems and applications are improve day by day and with the advancement in such area it give birth to new cyber-attacks.Man in the Middle attacks(MITM)are one of those attacks.The malware mainly monitors and have the ability to change the information which is classified only to these two users.It is knows as a protocol to an unauthorized user within the system who can access as well as change the information of the system without leaving any trace to the existing users.Cloud,edge and fog computing added more flavors in terms of better throughput and low latency in ease of accessing data.Edge computing refers to a distributed open platform which helps off-loading tasks and processing of cloud at edge of the network.The edge serves as a bridge between the digital and physical worlds making assets,gateways,systems and services smart and efficient.Due to the exponential growth of IoT produced data,its complexity is also expected to increase and raises need for innovation for improved security in edge computing.Therefore,achievement of secure transmission of data in resource constraint Mobile Edge Computing(MEC)environment becomes a challenging task.Non-Blockchain techniques deserve significant attention due to the considerable efforts invested in accomplishing the desired objectives of optimizing performance and reducing latency in the underlying data transactions.The major deficiency which has come up after comprehensive investigating Non-Blockchain techniques is non-secure proposed solutions in terms of cyber-attacks mainly MITM.A lot of work has been done with traditional features of blockchain suite;however sharding and additional layer of security in terms of IPFS have not been explored in MEC.In this research,we have addressed the challenges by devising a scheme which is computationally optimized and ensures data protection and security.This work is conducted to propose a lightweight blockchain solution using private/public keys and employing sharding for off-loading computation intensive tasks at MEC.Inter-Planetary File System(IPFS)database has been used to offload computational task from edge servers.Proposed technique is implemented using Java Script and Node.JS and simulated through Visual Studio Code and results are compared with other lightweight encryption algorithms proposed for IoT.Our results are computationally efficient and also resilient to cyber-attacks.Traditional implementation of blockchain puts strain on underlying hardware resources.Therefore,we prepare lightweight blockchain that uses CPUs,RAM and energy at minimum level as possible.The desired solution is achieved by using sharding which distributes data in various shards. |