public ActionResult Download(string key)
        {
            var file = new File(System.Web.HttpContext.Current);

            var tripleDesEncryptor = new TripleDESEncrypt(key);

            var content = file.GetFileContent();

            var encryptedContent = tripleDesEncryptor.Encrypt(content);

            ViewBag.GeneratedPassword = key;

            return File(Encoding.UTF8.GetBytes(encryptedContent), "text/plain", "encryptedPassword.txt");

        }