A secure and lightweight cryptographic-machine learning framework for IoT-based cyber defense in resource-constrained environments | Synapse