using System.Security.Cryptography;
public static void Main()
var currentDate = DateTime.UtcNow.ToString("ddMMyy");
var input = "/webappscustomercontact/customercontactdatapagetype?recfrom=0702190001&form=complaint";
var encoding = new System.Text.UTF8Encoding();
var keyBytes = encoding.GetBytes(sercetKey);
var messageBytes = encoding.GetBytes(input);
using (var hmacsha1 = new HMACSHA1(keyBytes))
var hashMessage = hmacsha1.ComputeHash(messageBytes);
Console.WriteLine("Secret Key: " + sercetKey);
Console.WriteLine("Hash: " + BitConverter.ToString(hmacsha1.ComputeHash(messageBytes)).Replace("-", "").ToLower());