© 2021 IEEE.Internet of Things (IoT) has been developing rapidly with the use of new technologies today. In addition to offering new applications that make our lives easier, it also reveals serious security and privacy problems. Hundreds of sensors around us or the applications we use can share our private data with other objects without our knowledge. Encryption systems can be used to prevent this emerging security problem. However, it is difficult to determine the appropriate encryption system due to limited power resources and computational capabilities. In this study, an identity-based encryption system has been proposed for secure communication between objects included in the Internet of Things.