摘要
Cloud computing is a rapid growing technology which delivers computing services such as servers,storage,database,networking,software and analytics.It has brought a new way to securely store and share information and data with multiple users.When authorized person access these clouds,the released data should not compromise any individual’s privacy and identity should not be revealed.Fog Computing is the extension of cloud with decentralized structure which stores the data in locations somewhere between the data source and cloud.The goal of fog computing is to provide high security,improve performance and network efficiency.We use quantum key distribution to produce and distribute key which change its quantum state and key,when key is known by mediator and it has ability to detect presence of mediator trying to gain lore of the key.In this paper,we introduced sugar-salt encryption which overcomes brute-force attack in effect delivers phony data in return to every incorrect guess of the password or key.