This project aims to develop a solution to use homomorphic encryption to protect sensitive information in the IoT environment. Basically, this project needs to consider the privacy of data owner, data user, and server and protect all participants privacy without compromising the functionalities of all parts.