With a growing trend of cloud storage, most of the data generated is stored in the cloud nowadays which gives rise to the concern regarding privacy and security of the data.