淘宝x-sign算法演示案例
发布时间
阅读量:
阅读量
淘宝x-sign算法demo示例
通过采用xposed hook这一技术手段,能够获取相应的签名信息
public String getMtopApiSign(HashMap<String, String> params, String appKey, String authCode) {
String instanceId = getInstanceId();
if (params == null) {
TBSdkLog.e("mtopsdk.InnerSignImpl", instanceId + " [getMtopApiSign] params is null.appKey=" + appKey);
return null;
} else if (appKey == null) {
params.put("SG_ERROR_CODE", "AppKey is null");
TBSdkLog.e("mtopsdk.InnerSignImpl", instanceId + " [getMtopApiSign] AppKey is null.");
return null;
} else if (this.sgMgr == null) {
params.put("SG_ERROR_CODE", "SGManager is nul
全部评论 (0)
还没有任何评论哟~
