首页 > TAG信息列表 > decryptedStr

前端使用3DES加密

TS && JS版本 npm install --save @types/crypto-js npm install crypto-js import CryptoJS from 'crypto-js'; /** * 3DES 加密 * iv: --后端提供偏移量 * KEY: --密码 后端提供 * mode: CBC --加密方式 需要iv */ const KEY = CryptoJS.enc.Utf8.parse('E6A84673893