Internet of Things, although it makes our lives easier, brings many security gaps if we are not careful. Even when our computer is hacked, many data are imperiled; the possibility of hacking into our car, phone, or the security system in our house and cameras brings to mind the question of “How to ensure security?”