Example #1
0
        private string CalculateSignature(string path)
        {
            var message = path
                          + string.Format("{0:yyyy}{0:MM}{0:dd}", DateTime.UtcNow);

            return(SHA.ComputeHMAC_SHA1(Secret.ToBytes(), message.ToBytes()).ToBase64());
        }