Internet of Things has received more and more attention, due to a wide range of potential applications. In this paper, we propose a secure data aggregation framework for the Internet of Things. It is based on fully homomorphic encryption. Moreover, this is a form of encryption where any specific algebraic operation performed on the raw sensor data is equivalent to the same algebraic operation performed on the cryptographic sensor data.