A secure and efficient encryption system based on adaptive and machine learning for securing data in fog computing | Synapse