swing 窗体小工具版本 https://blog.youkuaiyun.com/jintaocccq/article/details/108364751
@Test
public void re() throws NoSuchAlgorithmException, InvalidKeyException, SignatureException {
String productKey = "";
String deviceName = "";
String deviceSecret = "";
String clientId = UUID.randomUUID().toString().replace("-", "").toUpperCase();
String region = "cn-shanghai";
String data = "clientId" + clientId + "deviceName" + deviceName + "productKey" + productKey;
System.out.println("address : " + productKey + ".iot-as-mqtt." + region + ".aliyuncs.com");
System.out.println("clientId : " + clientId + "|securemode=3,signmethod=hmacsha1|");
System.out.println("userName : " + deviceName + "&" + productKey);
System.out.println("passwd : " + SignUtil.re(data, deviceSecret).toUpperCase()