/*    */ package com.ruoyi.hywz.utils;
/*    */
/*    */

import java.io.UnsupportedEncodingException;
import java.util.Map;

/*    */
/*    */ public class EncryptUtil {
/*    */   public static String getSign(Map<String, Object> map) {
/*  9 */     String spCode = map.remove("spCode").toString();
/* 10 */     String loginName = map.remove("loginName").toString();
/* 11 */     String password = map.remove("apiKey").toString();
/* 12 */     String requestId = map.remove("requestId").toString();
/*    */     try {
/* 14 */       String paraFilter = SMUtil.paraFilterAndEnCode(map);
/* 15 */       return SMUtil.sm3(spCode + loginName + password + paraFilter + requestId);
/* 16 */     } catch (UnsupportedEncodingException e) {
/* 17 */       return null;
/*    */     }
/*    */   }
/*    */
/*    */ }


/* Location:              C:\Users\ningj\Desktop\标准接口规范\test-api-send\smencrypt\!\com\example\EncryptUtil.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */
