Cloud computing security is one of the hot assignments not only for the researchers but also for the giant cloud service provider such as Amazon, Azure and others. To ensure information and data privacy over the cloud, application is encrypting the user data before sending it over the cloud. Hackers and cryptanalyst are capturing the data using various illegal practices over the communication network. In this paper, the authors have proposed a method, where data is encrypted using image as encryption key and to generate this encryption key from image, they used differential evolution algorithm for multi-level segmentation. Results are compared with other nature inspired algorithms.