nodejs 加密解密 簽名工具兼容從高版本到低版本動態匹配

'use strict'; /** * @util runtime時匹配密鑰的工具,從高版本到低版本匹配 */ function secretKeyUtil(config, vid, cryptType) { // 1 匹配vid let isExist = Object.keys(config).includes(vid); // 2 是否存在? if (i
相關文章
相關標籤/搜索