private string _sign(byte[] data) { HMACSHA1 hmac = new HMACSHA1(Encoding.UTF8.GetBytes(this.SecretKey)); byte[] digest = hmac.ComputeHash(data); return StringUtils.urlSafeBase64Encode(digest); }