From 263ab0ebb379ec284b36f751f0707b59fed9b169 Mon Sep 17 00:00:00 2001 From: zhou-hao Date: Thu, 29 Jul 2021 11:30:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- jetlinks-mqtt-auth-generator.html | 54 ------------------------------- 2 files changed, 1 insertion(+), 55 deletions(-) delete mode 100644 jetlinks-mqtt-auth-generator.html diff --git a/README.md b/README.md index 96e004f..aae53f6 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,4 @@ [查看说明](http://doc.jetlinks.cn/basics-guide/jetlinks-protocol-support.html) -MQTT 用户名密码可以使用[生成工具进行生成](jetlinks-mqtt-auth-generator.html) \ No newline at end of file +MQTT 用户名密码可以使用[生成工具进行生成](http://doc.jetlinks.cn/basics-guide/jetlinks-protocol-support.html) \ No newline at end of file diff --git a/jetlinks-mqtt-auth-generator.html b/jetlinks-mqtt-auth-generator.html deleted file mode 100644 index 56d053f..0000000 --- a/jetlinks-mqtt-auth-generator.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - JetLinks官方协议MQTT用户名密码生成工具 - -

JetLinks官方协议MQTT用户名密码生成工具

- - secureId: -
- secureKey: -
- -
- username: -
- password: - -
-

算法:

-
-var now = new Date().getTime(); //当前时间戳
-var username = secureId+"|"+now; // 拼接用户密码
-var password = md5(username+"|"+secureKey); //使用md5生成摘要
-  
- - - - \ No newline at end of file