public static string GetSignature <T>(T obj, string path, string secretKey) { return(SecurityHelper.GetHash_HMAC_SHA512(secretKey, $"{path}{GetQueryString<T>(obj)}{SecurityHelper.GetHash_SHA256(GetNonce())}")); }
public static string GetAuth(string noPhone, string noApi) { return(SecurityHelper.GetBase64Encode($"{noPhone}:{noApi}")); }