In Entwine Centre in DCU undergoing a research on discovering a trusted algorithm for securing the Iot data networks. In this project a method which is approached for encrypting all the data is by creating a secured enclave. The challenge that would be undergone in this project is the storage capacity that an enclave would be consume , on forming a cluster of enclave data can be processed in meaningful amount. Another prominent challenge in this work is the compromising node. Even if one node in the enclave is compromised the entire process fails, so the compromising node is identified and isolated. Using consensus algorithm and Intel SGX platform the entire process is carried out.