FactoCrypt is a security solution designed to protect IoT-based Smart Factory environments against four main types of security threats, including network sniffing and data tampering repudiation. The system utilizes hardware-based security modules and Public Key Infrastructure (PKI) technology to secure IoT communications, provide device and user certificates, and maintain data integrity across industrial networks.