private string CreateFileToken(string fileName)
        {
            var fileDownload = new FileDownload()
            {
                FileName  = fileName,
                ValidFrom = DateTime.Now
            };

            var token = JsonConvert.SerializeObject(fileDownload);

            return(HexaEncode.Encode(RC4Encrypt.Encrypt(token)));
        }
 public string Enc(string enc)
 {
     return(HexaEncode.Encode(RC4Encrypt.Encrypt(enc)));
 }