Lightweight Strategy for XOR PUFs as Security Primitives for Resource-constrained IoT device